Index: chrome/browser/ui/autofill/autofill_dialog_types.h |
diff --git a/chrome/browser/ui/autofill/autofill_dialog_types.h b/chrome/browser/ui/autofill/autofill_dialog_types.h |
index 16a472024868cfe6d1eb0bb4a76245330d43c8fa..75b9641b2363d5fd9128c3320a2bb277ccec8837 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_types.h |
+++ b/chrome/browser/ui/autofill/autofill_dialog_types.h |
@@ -8,10 +8,13 @@ |
#include <map> |
#include <vector> |
+#include "base/callback_forward.h" |
#include "base/string16.h" |
#include "chrome/browser/autofill/field_types.h" |
#include "third_party/skia/include/core/SkColor.h" |
+class AutofillField; |
+ |
namespace autofill { |
// This struct describes a single input control for the imperative autocomplete |
@@ -34,6 +37,10 @@ struct DetailInput { |
string16 autofilled_value; |
}; |
+// Determines whether |input| and |field| match. |
+typedef base::Callback<bool(const DetailInput& input, |
+ const AutofillField& field)> InputFieldComparator; |
+ |
// Sections of the dialog --- all fields that may be shown to the user fit under |
// one of these sections. |
enum DialogSection { |