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

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

Issue 2287473002: predictors: Remove unused field from the resource_prefetch_predictor database. (Closed)
Patch Set: 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
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 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 package chrome_browser_predictors; 9 package chrome_browser_predictors;
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 // Mirrors net::RequestPriority 43 // Mirrors net::RequestPriority
44 enum Priority { 44 enum Priority {
45 REQUEST_PRIORITY_IDLE = 0; 45 REQUEST_PRIORITY_IDLE = 0;
46 REQUEST_PRIORITY_LOWEST = 1; 46 REQUEST_PRIORITY_LOWEST = 1;
47 REQUEST_PRIORITY_LOW = 2; 47 REQUEST_PRIORITY_LOW = 2;
48 REQUEST_PRIORITY_MEDIUM = 3; 48 REQUEST_PRIORITY_MEDIUM = 3;
49 REQUEST_PRIORITY_HIGHEST = 4; 49 REQUEST_PRIORITY_HIGHEST = 4;
50 } 50 }
51 51
52 optional string primary_key = 1; 52 optional string resource_url = 1;
53 optional string resource_url = 2; 53 optional ResourceType resource_type = 2;
54 optional ResourceType resource_type = 3; 54 optional uint32 number_of_hits = 3;
55 optional uint32 number_of_hits = 4; 55 optional uint32 number_of_misses = 4;
56 optional uint32 number_of_misses = 5; 56 optional uint32 consecutive_misses = 5;
57 optional uint32 consecutive_misses = 6; 57 optional double average_position = 6;
58 optional double average_position = 7; 58 optional Priority priority = 7;
59 optional Priority priority = 8; 59 optional bool has_validators = 8;
60 optional bool has_validators = 9; 60 optional bool always_revalidate = 9;
61 optional bool always_revalidate = 10;
62 } 61 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698