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

Side by Side Diff: components/autofill/browser/autofill_field.h

Issue 13928035: WIP Component build of autofill Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make windows compiling Created 7 years, 8 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 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_FIELD_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_FIELD_H_
6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_FIELD_H_ 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_FIELD_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "components/autofill/browser/field_types.h" 12 #include "components/autofill/browser/field_types.h"
13 #include "components/autofill/common/autofill_export.h"
13 #include "components/autofill/common/form_field_data.h" 14 #include "components/autofill/common/form_field_data.h"
14 15
15 namespace autofill { 16 namespace autofill {
16 17
17 class AutofillField : public FormFieldData { 18 class AUTOFILL_EXPORT AutofillField : public FormFieldData {
18 public: 19 public:
19 enum PhonePart { 20 enum PhonePart {
20 IGNORED = 0, 21 IGNORED = 0,
21 PHONE_PREFIX = 1, 22 PHONE_PREFIX = 1,
22 PHONE_SUFFIX = 2, 23 PHONE_SUFFIX = 2,
23 }; 24 };
24 25
25 AutofillField(); 26 AutofillField();
26 AutofillField(const FormFieldData& field, const base::string16& unique_name); 27 AutofillField(const FormFieldData& field, const base::string16& unique_name);
27 virtual ~AutofillField(); 28 virtual ~AutofillField();
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 84
84 // The default value returned by the Autofill server. 85 // The default value returned by the Autofill server.
85 std::string default_value_; 86 std::string default_value_;
86 87
87 DISALLOW_COPY_AND_ASSIGN(AutofillField); 88 DISALLOW_COPY_AND_ASSIGN(AutofillField);
88 }; 89 };
89 90
90 } // namespace autofill 91 } // namespace autofill
91 92
92 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_FIELD_H_ 93 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_FIELD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698