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

Side by Side Diff: components/sync/protocol/bookmark_specifics.proto

Issue 2291053002: Cleanup: remove non-standard retain_unknown_fields from .proto files (Closed)
Patch Set: 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 (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;
14 13
15 package sync_pb; 14 package sync_pb;
16 15
17 // Corresponds to a single meta info key/value pair for a bookmark node. 16 // Corresponds to a single meta info key/value pair for a bookmark node.
18 message MetaInfo { 17 message MetaInfo {
19 optional string key = 1; 18 optional string key = 1;
20 optional string value = 2; 19 optional string value = 2;
21 } 20 }
22 21
23 // Properties of bookmark sync objects. 22 // Properties of bookmark sync objects.
24 message BookmarkSpecifics { 23 message BookmarkSpecifics {
25 optional string url = 1; 24 optional string url = 1;
26 optional bytes favicon = 2; 25 optional bytes favicon = 2;
27 optional string title = 3; 26 optional string title = 3;
28 // Corresponds to BookmarkNode::date_added() and is the internal value from 27 // Corresponds to BookmarkNode::date_added() and is the internal value from
29 // base::Time. 28 // base::Time.
30 optional int64 creation_time_us = 4; 29 optional int64 creation_time_us = 4;
31 optional string icon_url = 5; 30 optional string icon_url = 5;
32 repeated MetaInfo meta_info = 6; 31 repeated MetaInfo meta_info = 6;
33 } 32 }
OLDNEW
« no previous file with comments | « components/sync/protocol/autofill_specifics.proto ('k') | components/sync/protocol/client_commands.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698