diff options
author | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-19 00:14:58 +0000 |
---|---|---|
committer | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-19 00:14:58 +0000 |
commit | 18f92d4f0942235f2aac9290b43dc426626427f6 (patch) | |
tree | c342a8e9623a26c6054cbacaa3bfa51daca5f90a /chrome/browser/browsing_data_remover.cc | |
parent | e3b16e356ac41268eeb28c6329256d03ceb6a87e (diff) | |
download | chromium_src-18f92d4f0942235f2aac9290b43dc426626427f6.zip chromium_src-18f92d4f0942235f2aac9290b43dc426626427f6.tar.gz chromium_src-18f92d4f0942235f2aac9290b43dc426626427f6.tar.bz2 |
Clear AutoFill data along with Form Autocomplete data from Clear Browsing Data dialog
BUG=49128
TEST=none
Review URL: http://codereview.chromium.org/3807009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62997 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_remover.cc')
-rw-r--r-- | chrome/browser/browsing_data_remover.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/browsing_data_remover.cc b/chrome/browser/browsing_data_remover.cc index a13a6d8..ced833d 100644 --- a/chrome/browser/browsing_data_remover.cc +++ b/chrome/browser/browsing_data_remover.cc @@ -8,6 +8,7 @@ #include <set> #include "base/callback.h" +#include "chrome/browser/autofill/personal_data_manager.h" #include "chrome/browser/browser_thread.h" #include "chrome/browser/download/download_manager.h" #include "chrome/browser/extensions/extensions_service.h" @@ -225,6 +226,9 @@ void BrowsingDataRemover::Remove(int remove_mask) { if (web_data_service) { web_data_service->RemoveFormElementsAddedBetween(delete_begin_, delete_end_); + web_data_service->RemoveAutoFillProfilesAndCreditCardsModifiedBetween( + delete_begin_, delete_end_); + profile_->GetPersonalDataManager()->Refresh(); } } |