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

Side by Side Diff: chrome/browser/sync/protocol/autofill_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) 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 autofill. 5 // Sync protocol datatype extension for autofill.
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 autofill sync objects. 17 // Properties of autofill sync objects.
20 18
21 // An AutofillProfile. 19 // An AutofillProfile.
22 message AutofillProfileSpecifics { 20 message AutofillProfileSpecifics {
23 // User-defined label. 21 // User-defined label.
24 optional string label = 1; 22 optional string label = 1;
25 23
26 optional string guid = 15; 24 optional string guid = 15;
27 25
28 // Contact info. 26 // Contact info.
(...skipping 29 matching lines...) Expand all
58 // An autofill++ profile object. If present, indicates this entity 56 // An autofill++ profile object. If present, indicates this entity
59 // represents an AutofillProfile exclusively, and no other fields (such as 57 // represents an AutofillProfile exclusively, and no other fields (such as
60 // name/value or credit_card) should be present. 58 // name/value or credit_card) should be present.
61 optional AutofillProfileSpecifics profile = 4; 59 optional AutofillProfileSpecifics profile = 4;
62 60
63 // Obsolete credit card fields. 61 // Obsolete credit card fields.
64 // optional bytes deprecated_encrypted_credit_card = 5; 62 // optional bytes deprecated_encrypted_credit_card = 5;
65 // optional AutofillCreditCardSpecifics deprecated_credit_card = 6; 63 // optional AutofillCreditCardSpecifics deprecated_credit_card = 6;
66 } 64 }
67 65
68 extend EntitySpecifics {
69 optional AutofillSpecifics autofill = 31729;
70 optional AutofillProfileSpecifics autofill_profile = 63951;
71 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/protocol/app_specifics.proto ('k') | chrome/browser/sync/protocol/bookmark_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698