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 59e5ecbd5f0c443846c0cf30ad7857fa619d4776..0ceb925a24f5c379c823002b038d1926aff9d5f5 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_types.h |
+++ b/chrome/browser/ui/autofill/autofill_dialog_types.h |
@@ -153,6 +153,12 @@ struct SuggestionState { |
bool editable; |
}; |
+enum ValidationType { |
+ VALIDATE_SUGGESTION, // Validate existing suggestions (e.g. a card expired). |
+ VALIDATE_EDIT, // Validate user edits. Allow for empty fields. |
+ VALIDATE_FINAL, // Full form validation. Required fields can't be empty. |
+}; |
+ |
typedef std::vector<DetailInput> DetailInputs; |
typedef std::map<const DetailInput*, string16> DetailOutputMap; |