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

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

Issue 23882013: [rAc] Persist selection of newly added cards and addresses. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test compile 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 8973622d1ed3c1f124964f257bef56b02039efa3..ffa92f71edc8f8525a72d3eefc8095df530f6ff8 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -408,11 +408,6 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
string16 GetValueFromSection(DialogSection section,
ServerFieldType type);
- // Saves the data in |profile| to the personal data manager. This may add
- // a new profile or tack onto an existing profile.
- void SaveProfileGleanedFromSection(const AutofillProfile& profile,
- DialogSection section);
-
// Gets the SuggestionsMenuModel for |section|.
SuggestionsMenuModel* SuggestionsMenuModelForSection(DialogSection section);
const SuggestionsMenuModel* SuggestionsMenuModelForSection(
@@ -713,6 +708,12 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
// to Wallet.
std::string wallet_cookie_value_;
+ // The GUIDs of newly saved Autofill data models, or empty strings if there
+ // were no newly saved data models.
+ std::string newly_saved_billing_profile_guid_;
+ std::string newly_saved_shipping_profile_guid_;
+ std::string newly_saved_card_guid_;
+
// Populated if the user chose to save a newly inputted credit card. Used to
// show a bubble as the dialog closes to confirm a user's new card info was
// saved. Never populated while incognito (as nothing's actually saved).

Powered by Google App Engine
This is Rietveld 408576698