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). |