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

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

Issue 2800783002: predictors: Several improvements for redirects database. (Closed)
Patch Set: Fix unittests. 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
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..bf4a325c81be3917a1d262bca9264c28d951c833 100644
--- a/chrome/browser/predictors/resource_prefetch_common.h
+++ b/chrome/browser/predictors/resource_prefetch_common.h
@@ -112,6 +112,9 @@ struct ResourcePrefetchPredictorConfig {
size_t max_resources_per_entry;
// The number of consecutive misses after we stop tracking a resource URL.
size_t max_consecutive_misses;
+ // The number of consecutive misses after we stop tracking a redirect
Benoit L 2017/04/10 09:50:35 nit: after which here and above.
alexilin 2017/04/10 17:43:25 Done.
+ // endpoint.
+ size_t max_redirect_consecutive_misses;
// The minimum confidence (accuracy of hits) required for a resource to be
// prefetched.

Powered by Google App Engine
This is Rietveld 408576698