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

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 tests, add a test 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
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 81c9cf04a8aac102490a9b70c39e165c01f54d01..f7e6aeaeaf78a49db7c1964b7a5c4b8840bc1fab 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -407,11 +407,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(
@@ -712,6 +707,11 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
// to Wallet.
std::string wallet_cookie_value_;
+ // A map from dialog sections to the GUID of a newly saved Autofill data
+ // models for that section. No entries present that don't have newly saved
+ // data models.
+ std::map<DialogSection, std::string> newly_saved_data_model_guids_;
+
// 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).
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698