Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: components/autofill/core/browser/personal_data_manager.h

Issue 578383002: mac: Only show the access Address Book prompt a fixed number of times. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@autofill-contacts
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/personal_data_manager.h
diff --git a/components/autofill/core/browser/personal_data_manager.h b/components/autofill/core/browser/personal_data_manager.h
index 570cf59d241861384beb2f83c2e4ea82c8eae9be..871bf96f42fc392dce9408937b30f3c4ae8ec49c 100644
--- a/components/autofill/core/browser/personal_data_manager.h
+++ b/components/autofill/core/browser/personal_data_manager.h
@@ -211,6 +211,9 @@ class PersonalDataManager : public KeyedService,
// grant Chrome access to the user's address book.
bool ShouldShowAccessAddressBookSuggestion(AutofillType type);
+ // The access Address Book prompt was shown for a form.
+ void ShowedAccessAddressBookPrompt();
+
// The Chrome binary is in the process of being changed, or has been changed.
// Future attempts to access the Address Book might incorrectly present a
// blocking dialog.

Powered by Google App Engine
This is Rietveld 408576698