#include "chrome/browser/navigation_predictor/preloading_model_keyed_service.h"
#include "base/files/file_util.h"
#include "base/path_service.h"
#include "base/test/test_future.h"
#include "chrome/browser/navigation_predictor/preloading_model_keyed_service_factory.h"
#include "chrome/browser/optimization_guide/browser_test_util.h"
#include "chrome/browser/optimization_guide/optimization_guide_keyed_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/optimization_guide/core/model_util.h"
#include "components/optimization_guide/core/optimization_guide_features.h"
#include "content/public/test/browser_test.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/features.h"
namespace {
class PreloadingModelKeyedServiceTest : public InProcessBrowserTest { … };
class PreloadingModelKeyedServiceFeatureTest
: public PreloadingModelKeyedServiceTest,
public testing::WithParamInterface<bool> { … };
IN_PROC_BROWSER_TEST_P(PreloadingModelKeyedServiceFeatureTest,
FeatureFlagIsWorking) { … }
INSTANTIATE_TEST_SUITE_P(…);
IN_PROC_BROWSER_TEST_F(PreloadingModelKeyedServiceTest, Score) { … }
}