| 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; | |
| 11 | 10 |
| 12 package sync_pb; | 11 package sync_pb; |
| 13 | 12 |
| 14 // Tracking info for of favicon images. These control expiration of images | 13 // Tracking info for of favicon images. These control expiration of images |
| 15 // from sync based on recency, bookmark state, etc. | 14 // from sync based on recency, bookmark state, etc. |
| 16 message FaviconTrackingSpecifics { | 15 message FaviconTrackingSpecifics { |
| 17 // The url of the favicon image. | 16 // The url of the favicon image. |
| 18 optional string favicon_url = 1; | 17 optional string favicon_url = 1; |
| 19 // The last time a page using this favicon was visited (in milliseconds | 18 // The last time a page using this favicon was visited (in milliseconds |
| 20 // since linux epoch). | 19 // since linux epoch). |
| 21 optional int64 last_visit_time_ms = 3; | 20 optional int64 last_visit_time_ms = 3; |
| 22 // Whether this favicon is currently bookmarked or not. | 21 // Whether this favicon is currently bookmarked or not. |
| 23 optional bool is_bookmarked = 4; | 22 optional bool is_bookmarked = 4; |
| 24 } | 23 } |
| OLD | NEW |