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

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

Issue 9668028: [Sync] Create new top-level sync/ directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to head 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
(Empty)
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
3 // found in the LICENSE file.
4 //
5 // Sync protocol datatype extension for autofill.
6
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
8 // any fields in this file.
9
10 syntax = "proto2";
11
12 option optimize_for = LITE_RUNTIME;
13 option retain_unknown_fields = true;
14
15 package sync_pb;
16
17 // Properties of autofill sync objects.
18
19 // An AutofillProfile.
20 message AutofillProfileSpecifics {
21 // User-defined label.
22 optional string label = 1;
23
24 optional string guid = 15;
25
26 // Contact info.
27 repeated string name_first = 2;
28 repeated string name_middle = 3;
29 repeated string name_last = 4;
30 repeated string email_address = 5;
31 optional string company_name = 6;
32
33 // Home address.
34 optional string address_home_line1 = 7;
35 optional string address_home_line2 = 8;
36 optional string address_home_city = 9;
37 optional string address_home_state = 10;
38 optional string address_home_zip = 11;
39 optional string address_home_country = 12;
40
41 // Phone.
42 repeated string phone_home_whole_number = 13;
43
44 // Deprecated.
45 optional string phone_fax_whole_number = 14 [deprecated=true];
46 }
47
48 message AutofillSpecifics {
49 // If any of these 3 fields are present, then all 3 should be, and it implies
50 // that this entity represents a classic autofill object. In this case,
51 // none of the autofill++ objects below should be present.
52 optional string name = 1;
53 optional string value = 2;
54 repeated int64 usage_timestamp = 3;
55
56 // An autofill++ profile object. If present, indicates this entity
57 // represents an AutofillProfile exclusively, and no other fields (such as
58 // name/value or credit_card) should be present.
59 optional AutofillProfileSpecifics profile = 4;
60
61 // Obsolete credit card fields.
62 // optional bytes deprecated_encrypted_credit_card = 5;
63 // optional AutofillCreditCardSpecifics deprecated_credit_card = 6;
64 }
65
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