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

Unified Diff: components/autofill/core/browser/autofill_external_delegate.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/autofill_external_delegate.h
diff --git a/components/autofill/core/browser/autofill_external_delegate.h b/components/autofill/core/browser/autofill_external_delegate.h
index b1e41110b95005bbc591906b6a08334ac6775ea7..6784021948541a95aa979e35bfa4927944a4b0c3 100644
--- a/components/autofill/core/browser/autofill_external_delegate.h
+++ b/components/autofill/core/browser/autofill_external_delegate.h
@@ -152,6 +152,12 @@ class AutofillExternalDelegate
base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_;
+#if defined(OS_MACOSX) && !defined(OS_IOS)
+ // Whether the access Address Book prompt has ever been shown for the current
+ // |query_form_|.
+ bool has_shown_address_book_prompt;
Evan Stade 2014/09/18 21:26:37 nit: I would not bother with the ifdef because tha
erikchen 2014/09/18 21:55:57 Done.
+#endif // defined(OS_MACOSX) && !defined(OS_IOS)
+
DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698