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

Unified Diff: chrome/browser/autofill/form_group.h

Issue 2818033: AutoFill: Aggregate profile data. Remove the AutoFill InfoBar. (Closed)
Patch Set: Comment. Created 10 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autofill/field_types.h ('k') | chrome/browser/autofill/form_structure_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/form_group.h
diff --git a/chrome/browser/autofill/form_group.h b/chrome/browser/autofill/form_group.h
index 63315ea80a260cedafe018af9f612560629aa6aa..8e9ab98914549cd21d738af86c202eb72f04dcd9 100644
--- a/chrome/browser/autofill/form_group.h
+++ b/chrome/browser/autofill/form_group.h
@@ -28,7 +28,11 @@ class FormGroup {
virtual void GetPossibleFieldTypes(const string16& text,
FieldTypeSet* possible_types) const = 0;
- // Returns the string that should be autofilled into a text field given the
+ // Returns a set of AutoFillFieldTypes for which this FormGroup has non-empty
+ // data.
+ virtual void GetAvailableFieldTypes(FieldTypeSet* available_types) const = 0;
+
+ // Returns the string that should be auto-filled into a text field given the
// type of that field.
virtual string16 GetFieldText(const AutoFillType& type) const = 0;
« no previous file with comments | « chrome/browser/autofill/field_types.h ('k') | chrome/browser/autofill/form_structure_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698