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

Side by Side Diff: chrome/browser/predictors/resource_prefetch_predictor.proto

Issue 2285673002: predictors: Version the resource_prefetch_predictor database. (Closed)
Patch Set: Address comments. 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/predictors/resource_prefetch_predictor_tables.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/predictors/resource_prefetch_predictor_tables.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698