diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-31 17:14:02 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-31 17:14:02 +0000 |
commit | 55209a4b0b801a3bc2f790d4a75d10ccfdf34f6e (patch) | |
tree | 9d78a47b203af9ebd322efcb6fc2e9f026b7e47e /chrome/browser/browsing_data_remover.cc | |
parent | 6e9cebe49f63b4a783acb2446a5eb2e7618c6cbd (diff) | |
download | chromium_src-55209a4b0b801a3bc2f790d4a75d10ccfdf34f6e.zip chromium_src-55209a4b0b801a3bc2f790d4a75d10ccfdf34f6e.tar.gz chromium_src-55209a4b0b801a3bc2f790d4a75d10ccfdf34f6e.tar.bz2 |
Adding preferences and clear browsing data for form autofill.
BUG=None
TEST=Open the 'Clear browsing data' dialog, there should be a check box for from data. Open the options dialogue, 2nd tab, there should be an option for autofill.
Review URL: http://codereview.chromium.org/8740
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4292 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_data_remover.cc')
-rw-r--r-- | chrome/browser/browsing_data_remover.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/browsing_data_remover.cc b/chrome/browser/browsing_data_remover.cc index b1823a7..ef9e121 100644 --- a/chrome/browser/browsing_data_remover.cc +++ b/chrome/browser/browsing_data_remover.cc @@ -107,6 +107,11 @@ void BrowsingDataRemover::Remove(int remove_mask) { web_data_service->RemoveLoginsCreatedBetween(delete_begin_, delete_end_); } + if (remove_mask & REMOVE_FORM_DATA) { + // TODO(jcampan): bug #3870 hook-up Peterson's code here. + NOTREACHED() << "to be implemented"; + } + if (remove_mask & REMOVE_CACHE) { // Invoke ClearBrowsingDataView::ClearCache on the IO thread. base::Thread* thread = g_browser_process->io_thread(); |