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

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

Issue 23930002: [rAc] Reset the user's selection to the new default when the default Wallet item changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
index 43e8eba330beba77ac5751f807554627f7bc80b6..fedab6b67274d838d34c7b1e464b0f4f5e9de553 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -570,6 +570,11 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
scoped_ptr<wallet::WalletItems> wallet_items_;
scoped_ptr<wallet::FullWallet> full_wallet_;
+ // The default active instrument and shipping address object ids as of the
Evan Stade 2013/09/04 19:25:28 nit: s/ids/IDs/
Ilya Sherman 2013/09/05 01:13:59 Done.
+ // last time Wallet items were fetched. These variables are only set
+ // (i.e. non-empty) when the Wallet items are being re-fetched.
+ std::string previous_default_instrument_id_;
+ std::string previous_default_shipping_address_id_;
// The last active instrument and shipping address object ids. These
// variables are only set (i.e. non-empty) when the Wallet items are being
// re-fetched.

Powered by Google App Engine
This is Rietveld 408576698