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

Unified Diff: chrome/browser/predictors/resource_prefetch_predictor.proto

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_predictor.proto
diff --git a/chrome/browser/predictors/resource_prefetch_predictor.proto b/chrome/browser/predictors/resource_prefetch_predictor.proto
index 8616d5c71c5c01910d63100cc9b02ef6007bd206..5c31b0f5aa52e203809260e02d0ff187d5506ac9 100644
--- a/chrome/browser/predictors/resource_prefetch_predictor.proto
+++ b/chrome/browser/predictors/resource_prefetch_predictor.proto
@@ -61,3 +61,16 @@ message ResourceData {
optional bool has_validators = 8;
optional bool always_revalidate = 9;
}
+
+message RedirectProto {
+ // Represents single redirect chain endpoint
Benoit L 2016/09/19 13:53:48 nit: Represents a.
+ message RedirectStat {
+ optional string url = 1;
+ optional uint32 number_of_hits = 2;
+ optional uint32 number_of_misses = 3;
+ optional uint32 consecutive_misses = 4;
+ }
+
+ optional uint64 last_visit_time = 1;
+ repeated RedirectStat redirects = 2;
+}

Powered by Google App Engine
This is Rietveld 408576698