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