diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-23 23:34:27 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-23 23:34:27 +0000 |
commit | a3b14980c71bbe7933901de5a5ee061d158aaa9c (patch) | |
tree | c8a807fa90696d7927133694cc7ba586ef183e55 /chrome/browser | |
parent | 5b3117a91197f6bbb762647ecdbe56bbf39b2a6f (diff) | |
download | chromium_src-a3b14980c71bbe7933901de5a5ee061d158aaa9c.zip chromium_src-a3b14980c71bbe7933901de5a5ee061d158aaa9c.tar.gz chromium_src-a3b14980c71bbe7933901de5a5ee061d158aaa9c.tar.bz2 |
Remove dead code from AutoFill++ that are vestiges of the toolbar autofill.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/652165
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39798 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/autofill/autofill_manager.cc | 4 | ||||
-rw-r--r-- | chrome/browser/autofill/autofill_manager.h | 3 | ||||
-rw-r--r-- | chrome/browser/autofill/personal_data_manager.cc | 4 |
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; } |