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 bookmarks. | 5 // Sync protocol datatype extension for bookmarks. |
6 | 6 |
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change | 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change |
8 // any fields in this file. | 8 // any fields in this file. |
9 | 9 |
10 syntax = "proto2"; | 10 syntax = "proto2"; |
11 | 11 |
12 option optimize_for = LITE_RUNTIME; | 12 option optimize_for = LITE_RUNTIME; |
13 option retain_unknown_fields = true; | 13 option retain_unknown_fields = true; |
14 | 14 |
15 package sync_pb; | 15 package sync_pb; |
16 | 16 |
17 // Properties of bookmark sync objects. | 17 // Properties of bookmark sync objects. |
18 message BookmarkSpecifics { | 18 message BookmarkSpecifics { |
19 optional string url = 1; | 19 optional string url = 1; |
20 optional bytes favicon = 2; | 20 optional bytes favicon = 2; |
21 optional string title = 3; | 21 optional string title = 3; |
22 // Corresponds to BookmarkNode::date_added() and is the internal value from | 22 // Corresponds to BookmarkNode::date_added() and is the internal value from |
23 // base::Time. | 23 // base::Time. |
24 optional int64 creation_time_us = 4; | 24 optional int64 creation_time_us = 4; |
25 optional string icon_url = 5; | 25 optional string icon_url = 5; |
| 26 |
| 27 optional bool unique_id_guess = 6 [default = false]; |
| 28 optional string unique_id = 7; |
26 } | 29 } |
27 | |
OLD | NEW |