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_; |