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

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: Rebase. 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 // CAUTION: When any change is done here, bump kDatabaseVersion in 6 // CAUTION: When any change is done here, bump kDatabaseVersion in
7 // resource_prefetch_predictor.h. 7 // resource_prefetch_predictor.h.
8 8
9 syntax = "proto2"; 9 syntax = "proto2";
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 // Mirrors net::RequestPriority 45 // Mirrors net::RequestPriority
46 enum Priority { 46 enum Priority {
47 REQUEST_PRIORITY_IDLE = 0; 47 REQUEST_PRIORITY_IDLE = 0;
48 REQUEST_PRIORITY_LOWEST = 1; 48 REQUEST_PRIORITY_LOWEST = 1;
49 REQUEST_PRIORITY_LOW = 2; 49 REQUEST_PRIORITY_LOW = 2;
50 REQUEST_PRIORITY_MEDIUM = 3; 50 REQUEST_PRIORITY_MEDIUM = 3;
51 REQUEST_PRIORITY_HIGHEST = 4; 51 REQUEST_PRIORITY_HIGHEST = 4;
52 } 52 }
53 53
54 optional string primary_key = 1; 54 optional string resource_url = 1;
55 optional string resource_url = 2; 55 optional ResourceType resource_type = 2;
56 optional ResourceType resource_type = 3; 56 optional uint32 number_of_hits = 3;
57 optional uint32 number_of_hits = 4; 57 optional uint32 number_of_misses = 4;
58 optional uint32 number_of_misses = 5; 58 optional uint32 consecutive_misses = 5;
59 optional uint32 consecutive_misses = 6; 59 optional double average_position = 6;
60 optional double average_position = 7; 60 optional Priority priority = 7;
61 optional Priority priority = 8; 61 optional bool has_validators = 8;
62 optional bool has_validators = 9; 62 optional bool always_revalidate = 9;
63 optional bool always_revalidate = 10;
64 } 63 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698