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

Unified Diff: components/autofill/core/browser/autofill_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: Comments from isherman, round 2. 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/autofill_manager.h
diff --git a/components/autofill/core/browser/autofill_manager.h b/components/autofill/core/browser/autofill_manager.h
index fafbbda4fce2fa2563187de228ac90ccd07725ed..9aaa04f9aa17186ff4e7896b3bdcedb005f1e3ec 100644
--- a/components/autofill/core/browser/autofill_manager.h
+++ b/components/autofill/core/browser/autofill_manager.h
@@ -99,6 +99,12 @@ class AutofillManager : public AutofillDownloadManager::Observer {
// this method has no effect. The return value reflects whether the user was
// prompted with a modal dialog.
bool AccessAddressBook();
+
+ // The access Address Book prompt was shown for a form.
+ void ShowedAccessAddressBookPrompt();
+
+ // The number of times that the access address book prompt was shown.
+ int AccessAddressBookPromptCount();
#endif // defined(OS_MACOSX) && !defined(OS_IOS)
// Called from our external delegate so they cannot be private.
« no previous file with comments | « components/autofill/core/browser/autofill_external_delegate.cc ('k') | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698