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

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

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 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) 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 CHROME_BROWSER_AUTOFILL_AUTOFILL_FIELD_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_FIELD_H_
6 #define CHROME_BROWSER_AUTOFILL_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 "chrome/browser/autofill/field_types.h" 12 #include "components/autofill/browser/field_types.h"
13 #include "components/autofill/common/form_field_data.h" 13 #include "components/autofill/common/form_field_data.h"
14 14
15 class AutofillField : public FormFieldData { 15 class AutofillField : public FormFieldData {
16 public: 16 public:
17 enum PhonePart { 17 enum PhonePart {
18 IGNORED = 0, 18 IGNORED = 0,
19 PHONE_PREFIX = 1, 19 PHONE_PREFIX = 1,
20 PHONE_SUFFIX = 2, 20 PHONE_SUFFIX = 2,
21 }; 21 };
22 22
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 // Used to track whether this field is a phone prefix or suffix. 79 // Used to track whether this field is a phone prefix or suffix.
80 PhonePart phone_part_; 80 PhonePart phone_part_;
81 81
82 // The default value returned by the Autofill server. 82 // The default value returned by the Autofill server.
83 std::string default_value_; 83 std::string default_value_;
84 84
85 DISALLOW_COPY_AND_ASSIGN(AutofillField); 85 DISALLOW_COPY_AND_ASSIGN(AutofillField);
86 }; 86 };
87 87
88 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_FIELD_H_ 88 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_FIELD_H_
OLDNEW
« no previous file with comments | « components/autofill/browser/autofill_external_delegate_unittest.cc ('k') | components/autofill/browser/autofill_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698