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

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

Issue 710453002: [Autofill] Componentize AutofillCCInfoBarDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses Peter's input over use of WeakPtr<>. Created 6 years 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_client.h
diff --git a/components/autofill/core/browser/autofill_client.h b/components/autofill/core/browser/autofill_client.h
index 6ffcd7066c046bce89f975dae5fdf88b2e4afbaf..5cbc8727fa7d571e0f38ef3dcd47c34ff8581541 100644
--- a/components/autofill/core/browser/autofill_client.h
+++ b/components/autofill/core/browser/autofill_client.h
@@ -26,6 +26,7 @@ class PrefService;
namespace autofill {
+class AutofillDriver;
class AutofillPopupDelegate;
class AutofillWebDataService;
class CreditCard;
@@ -81,8 +82,10 @@ class AutofillClient {
virtual void ShowUnmaskPrompt() = 0;
// Run |save_card_callback| if the credit card should be imported as personal
- // data. |metric_logger| can be used to log user actions.
+ // data. |autofill_driver| abstracts call to open url. |metric_logger| can be
Peter Kasting 2014/12/29 22:24:30 The added sentence here is meaningless: what call
Pritam Nikam 2014/12/30 13:22:14 Done.
+ // used to log user actions.
virtual void ConfirmSaveCreditCard(
+ AutofillDriver* autofill_driver,
const base::Closure& save_card_callback) = 0;
// Returns true if both the platform and the device support scanning credit

Powered by Google App Engine
This is Rietveld 408576698