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

Side by Side Diff: chrome/browser/sync/protocol/extension_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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 extensions. 5 // Sync protocol datatype extension for extensions.
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 sync objects. 17 // Properties of extension sync objects.
20 // 18 //
21 // Merge policy: the settings for the higher version number win; in 19 // Merge policy: the settings for the higher version number win; in
22 // the case of a tie, server wins. 20 // the case of a tie, server wins.
23 message ExtensionSpecifics { 21 message ExtensionSpecifics {
24 // Globally unique id for this extension. 22 // Globally unique id for this extension.
25 optional string id = 1; 23 optional string id = 1;
26 // The known installed version. 24 // The known installed version.
27 optional string version = 2; 25 optional string version = 2;
28 26
29 // Auto-update URL to use for this extension. May be blank, in 27 // Auto-update URL to use for this extension. May be blank, in
30 // which case the default one (i.e., the one for the Chrome 28 // which case the default one (i.e., the one for the Chrome
31 // Extensions Gallery) is used. 29 // Extensions Gallery) is used.
32 optional string update_url = 3; 30 optional string update_url = 3;
33 // Whether or not this extension is enabled. 31 // Whether or not this extension is enabled.
34 optional bool enabled = 4; 32 optional bool enabled = 4;
35 // Whether or not this extension is enabled in incognito mode. 33 // Whether or not this extension is enabled in incognito mode.
36 optional bool incognito_enabled = 5; 34 optional bool incognito_enabled = 5;
37 35
38 // The name of the extension. Used only for debugging. 36 // The name of the extension. Used only for debugging.
39 optional string name = 6; 37 optional string name = 6;
40 } 38 }
41 39
42 extend EntitySpecifics {
43 optional ExtensionSpecifics extension = 48119;
44 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/protocol/extension_setting_specifics.proto ('k') | chrome/browser/sync/protocol/nigori_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698