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

Side by Side Diff: chrome/browser/autofill/field_types.h

Issue 2818033: AutoFill: Aggregate profile data. Remove the AutoFill InfoBar. (Closed)
Patch Set: Comment. Created 10 years, 5 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
« no previous file with comments | « chrome/browser/autofill/credit_card_unittest.cc ('k') | chrome/browser/autofill/form_group.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_
6 #define CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_ 6 #define CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 typedef enum _AddressType { 10 typedef enum _AddressType {
11 kGenericAddress = 0, 11 kGenericAddress = 0,
12 kBillingAddress, 12 kBillingAddress,
13 kShippingAddress 13 kShippingAddress
14 } AddressType; 14 } AddressType;
15 15
16 // NOTE: This list MUST not be modified. The server aggregates and stores these 16 // NOTE: This list MUST not be modified. The server aggregates and stores these
17 // types over several versions, so we must remain fully compatible with the 17 // types over several versions, so we must remain fully compatible with the
18 // autofill server, which is itself backward-compatible. The list must be kept 18 // AutoFill server, which is itself backward-compatible. The list must be kept
19 // up to date with the autofill server list. 19 // up to date with the AutoFill server list.
20 // 20 //
21 // This is the list of all valid field types. 21 // This is the list of all valid field types.
22 typedef enum _FieldType { 22 typedef enum _FieldType {
23 // Server indication that it has no data for the requested field. 23 // Server indication that it has no data for the requested field.
24 NO_SERVER_DATA = 0, 24 NO_SERVER_DATA = 0,
25 // Client indication that the text entered did not match anything in the 25 // Client indication that the text entered did not match anything in the
26 // personal data. 26 // personal data.
27 UNKNOWN_TYPE = 1, 27 UNKNOWN_TYPE = 1,
28 // The "empty" type indicates that the user hasn't entered anything 28 // The "empty" type indicates that the user hasn't entered anything
29 // in this field. 29 // in this field.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 COMPANY_NAME = 60, 82 COMPANY_NAME = 60,
83 83
84 // No new types can be added. 84 // No new types can be added.
85 85
86 MAX_VALID_FIELD_TYPE = 61, 86 MAX_VALID_FIELD_TYPE = 61,
87 } AutoFillFieldType; 87 } AutoFillFieldType;
88 88
89 typedef std::set<AutoFillFieldType> FieldTypeSet; 89 typedef std::set<AutoFillFieldType> FieldTypeSet;
90 90
91 #endif // CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_ 91 #endif // CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/credit_card_unittest.cc ('k') | chrome/browser/autofill/form_group.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698