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

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

Issue 2831233004: predictors: Add resource type to manifest. (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
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 7a6d8d7fc2cc0f7c2eaf6294293c9fd947ebfb0c..7dc3ccf0006487f7f947aac39de335bba12246f4 100644
--- a/chrome/browser/predictors/resource_prefetch_predictor.proto
+++ b/chrome/browser/predictors/resource_prefetch_predictor.proto
@@ -67,17 +67,17 @@ message PrefetchData {
repeated ResourceData resources = 3;
}
+// Represents a single redirect chain endpoint.
+message RedirectStat {
+ // Represents the host for RedirectData in a host-based table.
+ optional string url = 1;
+ optional uint32 number_of_hits = 2;
+ optional uint32 number_of_misses = 3;
+ optional uint32 consecutive_misses = 4;
+}
+
// Represents a mapping from URL or host to a list of redirect endpoints.
message RedirectData {
- // Represents a single redirect chain endpoint.
- message RedirectStat {
- // Represents the host for RedirectData in a host-based table.
- optional string url = 1;
- optional uint32 number_of_hits = 2;
- optional uint32 number_of_misses = 3;
- optional uint32 consecutive_misses = 4;
- }
-
// Main frame URL or host.
optional string primary_key = 1;
optional uint64 last_visit_time = 2;

Powered by Google App Engine
This is Rietveld 408576698