OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Sync protocol datatype extension for the favicon tracking type. | 5 // Sync protocol datatype extension for the favicon tracking type. |
6 | 6 |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
9 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
10 option retain_unknown_fields = true; | 10 option retain_unknown_fields = true; |
11 | 11 |
12 package sync_pb; | 12 package sync_pb; |
13 | 13 |
14 // Tracking info for of favicon images. These control expiration of images | 14 // Tracking info for of favicon images. These control expiration of images |
15 // from sync based on recency, bookmark state, etc. | 15 // from sync based on recency, bookmark state, etc. |
16 message FaviconTrackingSpecifics { | 16 message FaviconTrackingSpecifics { |
17 // The url of the favicon image. | 17 // The url of the favicon image. |
18 optional string favicon_url= 1; | 18 optional string favicon_url = 1; |
19 // The last time a page using this favicon was visited (in milliseconds | 19 // The last time a page using this favicon was visited (in milliseconds |
20 // since linux epoch). | 20 // since linux epoch). |
21 optional int64 last_visit_time_ms = 3; | 21 optional int64 last_visit_time_ms = 3; |
22 // Whether this favicon is currently bookmarked or not. | 22 // Whether this favicon is currently bookmarked or not. |
23 optional bool is_bookmarked = 4; | 23 optional bool is_bookmarked = 4; |
24 } | 24 } |
OLD | NEW |