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

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: Remove infobar if its associated page content is destroyed. Created 5 years, 12 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_client.h
diff --git a/components/autofill/core/browser/autofill_client.h b/components/autofill/core/browser/autofill_client.h
index 6ffcd7066c046bce89f975dae5fdf88b2e4afbaf..958517832cc37c3bef1e805a68ba32e281c06e4d 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;
@@ -80,9 +81,9 @@ class AutofillClient {
// information to proceed.
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.
+ // Opens an infobar to prompt the user to save credit card details.
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