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

Side by Side Diff: chrome/browser/sync/protocol/extension_setting_specifics.proto

Issue 9460047: sync: remove use of protobuf extensions in protocol to reduce static init overhead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fred's review Created 8 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 an extension setting. 5 // Sync protocol datatype extension for an extension setting.
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 import "sync.proto";
18
19 // Properties of extension setting sync objects. 17 // Properties of extension setting sync objects.
20 message ExtensionSettingSpecifics { 18 message ExtensionSettingSpecifics {
21 // Id of the extension the setting is for. 19 // Id of the extension the setting is for.
22 optional string extension_id = 1; 20 optional string extension_id = 1;
23 21
24 // Setting key. 22 // Setting key.
25 optional string key = 2; 23 optional string key = 2;
26 24
27 // Setting value serialized as JSON. 25 // Setting value serialized as JSON.
28 optional string value = 3; 26 optional string value = 3;
29 } 27 }
30 28
31 extend EntitySpecifics {
32 optional ExtensionSettingSpecifics extension_setting = 96159;
33 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/protocol/bookmark_specifics.proto ('k') | chrome/browser/sync/protocol/extension_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698