Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6639)

Unified Diff: chrome/browser/predictors/resource_prefetch_common.h

Issue 2804963002: predictors: Put manifests for ResourcePrefetchPredictor behind a flag. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/predictors/resource_prefetch_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/predictors/resource_prefetch_common.h
diff --git a/chrome/browser/predictors/resource_prefetch_common.h b/chrome/browser/predictors/resource_prefetch_common.h
index af03bee85c32e047ff876ead007764b31a369ae9..bee3ae2b145a2318709908c59bb8e7bc11237ce1 100644
--- a/chrome/browser/predictors/resource_prefetch_common.h
+++ b/chrome/browser/predictors/resource_prefetch_common.h
@@ -26,6 +26,7 @@ extern const char kLearningMode[];
extern const char kExternalPrefetchingMode[];
extern const char kPrefetchingMode[];
extern const char kEnableUrlLearningParamName[];
+extern const char kEnableManifestsParamName[];
extern const base::Feature kSpeculativeResourcePrefetchingFeature;
struct ResourcePrefetchPredictorConfig;
@@ -126,6 +127,8 @@ struct ResourcePrefetchPredictorConfig {
size_t max_prefetches_inflight_per_host_per_navigation;
// True iff the predictor could use a url-based database.
bool is_url_learning_enabled;
+ // True iff the predictor could use manifests.
+ bool is_manifests_enabled;
};
} // namespace predictors
« no previous file with comments | « no previous file | chrome/browser/predictors/resource_prefetch_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698