Index: chrome/browser/ui/autofill/autofill_dialog_controller.h |
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller.h b/chrome/browser/ui/autofill/autofill_dialog_controller.h |
index 4dbd74dc520ec6d9c2ef92fbe01f908f884eeffe..9ca30b69effc391c9a7fe484f3d264dfd768b602 100644 |
--- a/chrome/browser/ui/autofill/autofill_dialog_controller.h |
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller.h |
@@ -151,6 +151,11 @@ class AutofillDialogController : public AutofillPopupDelegate { |
// Initializes |suggested_email_| et al. |
void GenerateComboboxModels(); |
+ // Returns whether |profile| is complete, i.e. can fill out all the relevant |
+ // address info. Incomplete profiles will not be displayed in the dropdown |
+ // menu. |
+ bool IsCompleteProfile(const AutofillProfile& profile); |
+ |
// Fills in |section|-related fields in |output_| according to the state of |
// |view_|. |
void FillOutputForSection(DialogSection section); |