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

Side by Side Diff: components/autofill/browser/form_group.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_FORM_GROUP_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_FORM_GROUP_H_
6 #define CHROME_BROWSER_AUTOFILL_FORM_GROUP_H_ 6 #define COMPONENTS_AUTOFILL_BROWSER_FORM_GROUP_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "chrome/browser/autofill/field_types.h" 13 #include "components/autofill/browser/field_types.h"
14 14
15 class AutofillField; 15 class AutofillField;
16 struct FormFieldData; 16 struct FormFieldData;
17 17
18 // This class is an interface for collections of form fields, grouped by type. 18 // This class is an interface for collections of form fields, grouped by type.
19 // The information in objects of this class is managed by the 19 // The information in objects of this class is managed by the
20 // PersonalDataManager. 20 // PersonalDataManager.
21 class FormGroup { 21 class FormGroup {
22 public: 22 public:
23 virtual ~FormGroup() {} 23 virtual ~FormGroup() {}
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 // Returns a set of AutofillFieldTypes for which this FormGroup can store 83 // Returns a set of AutofillFieldTypes for which this FormGroup can store
84 // data. This method is additive on |supported_types|. 84 // data. This method is additive on |supported_types|.
85 virtual void GetSupportedTypes(FieldTypeSet* supported_types) const = 0; 85 virtual void GetSupportedTypes(FieldTypeSet* supported_types) const = 0;
86 86
87 // Fills in a select control for a country from data in |this|. Returns true 87 // Fills in a select control for a country from data in |this|. Returns true
88 // for success. 88 // for success.
89 virtual bool FillCountrySelectControl(FormFieldData* field_data) const; 89 virtual bool FillCountrySelectControl(FormFieldData* field_data) const;
90 }; 90 };
91 91
92 #endif // CHROME_BROWSER_AUTOFILL_FORM_GROUP_H_ 92 #endif // COMPONENTS_AUTOFILL_BROWSER_FORM_GROUP_H_
OLDNEW
« no previous file with comments | « components/autofill/browser/form_field_unittest.cc ('k') | components/autofill/browser/form_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698