Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Protocol buffers used for storing in SQLite. | 5 // Protocol buffers used for storing in SQLite. |
| 6 // CAUTION: When any change is done here, bump kDatabaseVersion in | |
| 7 // resource_prefetch_predictor.cc. | |
|
pasko
2016/08/26 15:06:44
I like it less because in case the file name chang
Benoit L
2016/08/26 16:37:02
Acknowledged.
| |
| 6 | 8 |
| 7 syntax = "proto2"; | 9 syntax = "proto2"; |
| 8 | 10 |
| 9 package chrome_browser_predictors; | 11 package chrome_browser_predictors; |
| 10 | 12 |
| 11 // Required in Chrome. | 13 // Required in Chrome. |
| 12 option optimize_for = LITE_RUNTIME; | 14 option optimize_for = LITE_RUNTIME; |
| 13 | 15 |
| 14 message Metadata { | 16 message Metadata { |
| 15 optional string main_page_url = 1; | 17 optional string main_page_url = 1; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 53 optional string resource_url = 2; | 55 optional string resource_url = 2; |
| 54 optional ResourceType resource_type = 3; | 56 optional ResourceType resource_type = 3; |
| 55 optional uint32 number_of_hits = 4; | 57 optional uint32 number_of_hits = 4; |
| 56 optional uint32 number_of_misses = 5; | 58 optional uint32 number_of_misses = 5; |
| 57 optional uint32 consecutive_misses = 6; | 59 optional uint32 consecutive_misses = 6; |
| 58 optional double average_position = 7; | 60 optional double average_position = 7; |
| 59 optional Priority priority = 8; | 61 optional Priority priority = 8; |
| 60 optional bool has_validators = 9; | 62 optional bool has_validators = 9; |
| 61 optional bool always_revalidate = 10; | 63 optional bool always_revalidate = 10; |
| 62 } | 64 } |
| OLD | NEW |