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; |