// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_PRELOADING_PREVIEW_PREVIEW_TEST_UTIL_H_ #define CHROME_BROWSER_PRELOADING_PREVIEW_PREVIEW_TEST_UTIL_H_ #include "base/functional/callback.h" #include "base/memory/weak_ptr.h" #include "base/test/scoped_feature_list.h" #include "content/public/browser/web_contents.h" #include "url/gurl.h" class PreviewManager; namespace test { // Enables appropriate features for the LinkPreview. class ScopedPreviewFeatureList { … }; // Helper class to control the LinkPreview feature in browser tests. class PreviewTestHelper { … }; } // namespace test #endif // CHROME_BROWSER_PRELOADING_PREVIEW_PREVIEW_TEST_UTIL_H_