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

Unified Diff: chrome/browser/autofill/personal_data_manager.h

Issue 2818033: AutoFill: Aggregate profile data. Remove the AutoFill InfoBar. (Closed)
Patch Set: Comment. Created 10 years, 6 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/autofill/personal_data_manager.h
diff --git a/chrome/browser/autofill/personal_data_manager.h b/chrome/browser/autofill/personal_data_manager.h
index cfa7109e13f441b5a06276abfedfcec783ae9bbc..a719de82d082c36200c8fb5a444d7519ca2ba736 100644
--- a/chrome/browser/autofill/personal_data_manager.h
+++ b/chrome/browser/autofill/personal_data_manager.h
@@ -64,10 +64,6 @@ class PersonalDataManager
bool ImportFormData(const std::vector<FormStructure*>& form_structures,
AutoFillManager* autofill_manager);
- // Saves |imported_profile_| and |imported_credit_card_| to the WebDB if they
- // exist.
- virtual void SaveImportedFormData();
-
// Gets |imported_profile_| and |imported_credit_card_| and returns their
// values in |profile| and |credit_card| parameters respectively. One or
// both may return NULL. The objects returned are owned by the
@@ -82,7 +78,7 @@ class PersonalDataManager
//
// The relationship between this and Refresh is subtle.
// A call to SetProfile could include out-of-date data that may conflict
- // if we didn't refresh-to-latest before an autofill window was opened for
+ // if we didn't refresh-to-latest before an AutoFill window was opened for
// editing. SetProfile is implemented to make a "best effort" to apply the
// changes, but in extremely rare edge cases it is possible not all of the
// updates in |profiles| make it to the DB. This is why SetProfiles will
@@ -192,6 +188,10 @@ class PersonalDataManager
void SetUniqueProfileLabels(std::vector<AutoFillProfile>* profiles);
void SetUniqueCreditCardLabels(std::vector<CreditCard>* credit_cards);
+ // Saves |imported_profile_| to the WebDB if it exists.
+ // TODO(jhawkins): SaveImportedCreditCard.
+ void SaveImportedProfile();
+
// The profile hosting this PersonalDataManager.
Profile* profile_;
« no previous file with comments | « chrome/browser/autofill/form_structure_unittest.cc ('k') | chrome/browser/autofill/personal_data_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698