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

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

Issue 2800783002: predictors: Several improvements for redirects database. (Closed)
Patch Set: Rebase. 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 627dab0754205a7065ce8b62c525c91482ae6d7f..e13e6cc8432fd23b8d9f7f8bb1d47469f0a05b02 100644
--- a/chrome/browser/predictors/resource_prefetch_common.h
+++ b/chrome/browser/predictors/resource_prefetch_common.h
@@ -113,8 +113,12 @@ struct ResourcePrefetchPredictorConfig {
size_t max_resources_per_entry;
// The maximum number of origins to store per entry.
size_t max_origins_per_entry;
- // The number of consecutive misses after we stop tracking a resource URL.
+ // The number of consecutive misses after which we stop tracking a resource
+ // URL.
size_t max_consecutive_misses;
+ // The number of consecutive misses after which we stop tracking a redirect
+ // endpoint.
+ size_t max_redirect_consecutive_misses;
// The minimum confidence (accuracy of hits) required for a resource to be
// prefetched.
« 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