Index: components/autofill/core/browser/autofill_manager.h |
diff --git a/components/autofill/core/browser/autofill_manager.h b/components/autofill/core/browser/autofill_manager.h |
index 856be0e989ba737b169f5ee3db628941cfe3cd1a..fc4024825dd686c77f41da9d635467e187869ce4 100644 |
--- a/components/autofill/core/browser/autofill_manager.h |
+++ b/components/autofill/core/browser/autofill_manager.h |
@@ -84,6 +84,19 @@ class AutofillManager : public AutofillDownloadManager::Observer { |
void ShowAutofillSettings(); |
+#if defined(OS_MACOSX) |
+ // Whether the field represented by |fieldData| should show an entry to prompt |
+ // the user to give Chrome access to the user's address book. |
+ bool ShouldShowAccessAddressBookSuggestion(const FormData& data, |
+ const FormFieldData& field_data); |
+ |
+ // If Chrome has not prompted for access to the user's address book, the |
+ // method prompts the user for permission and blocks the process. Otherwise, |
+ // this method has no effect. The return value reflects whether the user was |
+ // prompted with a modal dialog. |
+ bool AccessAddressBook(); |
+#endif // defined(OS_MACOSX) |
+ |
// Called from our external delegate so they cannot be private. |
virtual void FillOrPreviewForm(AutofillDriver::RendererFormDataAction action, |
int query_id, |
@@ -92,6 +105,7 @@ class AutofillManager : public AutofillDownloadManager::Observer { |
int unique_id); |
void DidShowSuggestions(bool is_new_popup); |
void OnDidFillAutofillFormData(const base::TimeTicks& timestamp); |
+ void OnPingAck(); |
void OnDidPreviewAutofillFormData(); |
// Remove the credit card or Autofill profile that matches |unique_id| |