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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller.h

Issue 13625002: Change the behavior of the [X] Save details to Wallet checkbox notification to: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 8 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: chrome/browser/ui/autofill/autofill_dialog_controller.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller.h b/chrome/browser/ui/autofill/autofill_dialog_controller.h
index 4fee0bd1676ed968c6100c45d8245437fd97469a..ce86d419b4f9093d242f6fe115e0b8fb9285c435 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller.h
@@ -76,6 +76,13 @@ class AutofillDialogController {
// Returns the icon that should be shown in the account chooser.
virtual gfx::Image AccountChooserImage() = 0;
+ // Whether the user last selected "Pay Without Wallet" as their payment
+ // method.
+ virtual bool GetPayWithoutWallet() const = 0;
+
+ // Change the value of the "Pay Without Wallet" pref.
+ virtual void SetPayWithoutWallet(bool pay_without_wallet) = 0;
+
// Whether or not an Autocheckout flow is running.
virtual bool AutocheckoutIsRunning() const = 0;

Powered by Google App Engine
This is Rietveld 408576698