summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/autofill/autofill_manager.cc4
-rw-r--r--chrome/browser/autofill/autofill_manager.h3
-rw-r--r--chrome/browser/autofill/personal_data_manager.cc4
3 files changed, 1 insertions, 10 deletions
diff --git a/chrome/browser/autofill/autofill_manager.cc b/chrome/browser/autofill/autofill_manager.cc
index 246ab3f..1ede7bf 100644
--- a/chrome/browser/autofill/autofill_manager.cc
+++ b/chrome/browser/autofill/autofill_manager.cc
@@ -257,10 +257,6 @@ void AutoFillManager::OnInfoBarAccepted() {
OnPersonalDataLoaded();
}
-void AutoFillManager::SaveFormData() {
- // TODO(jhawkins): Save the form data to the web database.
-}
-
void AutoFillManager::UploadFormData() {
std::string xml;
bool ok = upload_form_structure_->EncodeUploadRequest(false, &xml);
diff --git a/chrome/browser/autofill/autofill_manager.h b/chrome/browser/autofill/autofill_manager.h
index fe64263..1517272 100644
--- a/chrome/browser/autofill/autofill_manager.h
+++ b/chrome/browser/autofill/autofill_manager.h
@@ -67,9 +67,6 @@ class AutoFillManager : public RenderViewHostDelegate::AutoFill,
// Called by the AutoFillInfoBarDelegate when the user accepts the infobar.
void OnInfoBarAccepted();
- // Saves the form data to the web database.
- void SaveFormData();
-
// Uploads the form data to the autofill server.
void UploadFormData();
diff --git a/chrome/browser/autofill/personal_data_manager.cc b/chrome/browser/autofill/personal_data_manager.cc
index 87cb5b6..2526109 100644
--- a/chrome/browser/autofill/personal_data_manager.cc
+++ b/chrome/browser/autofill/personal_data_manager.cc
@@ -54,7 +54,7 @@ void PersonalDataManager::OnWebDataServiceRequestDone(
// If both requests have responded, then all personal data is loaded.
if (pending_profiles_query_ == 0 && pending_creditcards_query_ == 0) {
is_data_loaded_ = true;
- // Copy is needed as observer can unsubsribe itself when notified.
+ // Copy is needed as observer can unsubscribe itself when notified.
std::vector<PersonalDataManager::Observer*> temporary_copy;
temporary_copy.resize(observers_.size());
std::copy(observers_.begin(), observers_.end(), temporary_copy.begin());
@@ -186,8 +186,6 @@ bool PersonalDataManager::ImportFormData(
if (importable_credit_card_fields == 0)
imported_credit_card_.reset();
- // TODO(jhawkins): Alert the AutoFillManager that we have data.
-
return true;
}