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

Side by Side Diff: chrome/browser/sync/protocol/app_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 app setting. 5 // Sync protocol datatype extension for an app setting.
6 // This is the same as for an extension setting, but uses a separate datatype 6 // This is the same as for an extension setting, but uses a separate datatype
7 // in order to control syncability separately. 7 // in order to control syncability separately.
8 8
9 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change 9 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
10 // any fields in this file. 10 // any fields in this file.
11 11
12 syntax = "proto2"; 12 syntax = "proto2";
13 13
14 option optimize_for = LITE_RUNTIME; 14 option optimize_for = LITE_RUNTIME;
15 option retain_unknown_fields = true; 15 option retain_unknown_fields = true;
16 16
17 package sync_pb; 17 package sync_pb;
18 18
19 import "sync.proto";
20 import "extension_setting_specifics.proto"; 19 import "extension_setting_specifics.proto";
21 20
22 // Properties of app setting sync objects; just an extension setting. 21 // Properties of app setting sync objects; just an extension setting.
23 message AppSettingSpecifics { 22 message AppSettingSpecifics {
24 optional ExtensionSettingSpecifics extension_setting = 1; 23 optional ExtensionSettingSpecifics extension_setting = 1;
25 } 24 }
26 25
27 extend EntitySpecifics {
28 optional AppSettingSpecifics app_setting = 103656;
29 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/protocol/app_notification_specifics.proto ('k') | chrome/browser/sync/protocol/app_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698