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

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

Issue 2321343002: Redirect handling in resource prefetch predictor (Closed)
Patch Set: Redirects database schema changed Created 4 years, 3 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
Index: chrome/browser/predictors/resource_prefetch_common.cc
diff --git a/chrome/browser/predictors/resource_prefetch_common.cc b/chrome/browser/predictors/resource_prefetch_common.cc
index 2b97faf37164dbda4be152bfa7ef840985061557..64a2e1cd71651d09065aa3d5500cc304cbf31320 100644
--- a/chrome/browser/predictors/resource_prefetch_common.cc
+++ b/chrome/browser/predictors/resource_prefetch_common.cc
@@ -203,12 +203,12 @@ ResourcePrefetchPredictorConfig::ResourcePrefetchPredictorConfig()
max_hosts_to_track(200),
min_url_visit_count(2),
max_resources_per_entry(50),
+ max_redirects_per_entry(100),
max_consecutive_misses(3),
min_resource_confidence_to_trigger_prefetch(0.7f),
min_resource_hits_to_trigger_prefetch(2),
max_prefetches_inflight_per_navigation(24),
- max_prefetches_inflight_per_host_per_navigation(3) {
-}
+ max_prefetches_inflight_per_host_per_navigation(3) {}
ResourcePrefetchPredictorConfig::ResourcePrefetchPredictorConfig(
const ResourcePrefetchPredictorConfig& other) = default;

Powered by Google App Engine
This is Rietveld 408576698