Chromium Code Reviews| 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..34c16ebe533bf1aed27d1a0501e4686e84b71da2 100644 |
| --- a/chrome/browser/predictors/resource_prefetch_predictor.proto |
| +++ b/chrome/browser/predictors/resource_prefetch_predictor.proto |
| @@ -61,3 +61,17 @@ message ResourceData { |
| optional bool has_validators = 8; |
| optional bool always_revalidate = 9; |
| } |
| + |
| +message RedirectData { |
| + // Represents single redirect chain endpoint |
|
Benoit L
2016/09/26 11:18:36
nit: Represents a single redirect chain endpoint.
pasko
2016/09/26 12:28:15
.. except that it is a mapping of origin to all po
alexilin
2016/09/26 15:38:28
This comment refers to RedirectStat message, not R
pasko
2016/09/26 15:58:22
Ah oh, agreed. I was confused because of lack of c
alexilin
2016/09/27 14:52:45
Added comment for the RedirectData. 'git cl format
|
| + message RedirectStat { |
| + optional string url = 1; |
| + optional uint32 number_of_hits = 2; |
| + optional uint32 number_of_misses = 3; |
| + optional uint32 consecutive_misses = 4; |
| + } |
| + |
| + optional string primary_key = 1; |
| + optional uint64 last_visit_time = 2; |
| + repeated RedirectStat redirects = 3; |
|
pasko
2016/09/22 14:27:09
This proto would benefit from comments and probabl
alexilin
2016/09/22 16:48:19
Collection of endpoints.
Ok, let's agree on the na
pasko
2016/09/26 12:28:15
I would suggest redirect_endpoints
alexilin
2016/09/27 14:52:45
Renamed redirects -> redirect_endpoints.
Leave fur
|
| +} |