summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process_impl.cc
diff options
context:
space:
mode:
authorpastarmovj@chromium.org <pastarmovj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-01 08:54:42 +0000
committerpastarmovj@chromium.org <pastarmovj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-01 08:54:42 +0000
commit0cf4b5f6ad75f11f7efc8730247be964d3743e95 (patch)
treeb3d40a6fd9df792593174f8005acaf323ae37f71 /chrome/browser/browser_process_impl.cc
parent6895c060da4d381d139b0523d77baf6d2b5e49c2 (diff)
downloadchromium_src-0cf4b5f6ad75f11f7efc8730247be964d3743e95.zip
chromium_src-0cf4b5f6ad75f11f7efc8730247be964d3743e95.tar.gz
chromium_src-0cf4b5f6ad75f11f7efc8730247be964d3743e95.tar.bz2
Refactor DOM storage context clean-up on shutdown.
Changed from a call to DOMStorageContext::ClearLocalStorage from BrowserImpl to a call to that code from the destructor of DOMStorageContext. BUG=64627 TEST=DOMStorageBrowserTest.ClearLocalState Review URL: http://codereview.chromium.org/5372008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67834 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process_impl.cc')
-rw-r--r--chrome/browser/browser_process_impl.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index bf1a52f..44f459b 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -29,7 +29,6 @@
#include "chrome/browser/first_run/first_run.h"
#include "chrome/browser/google/google_url_tracker.h"
#include "chrome/browser/icon_manager.h"
-#include "chrome/browser/in_process_webkit/dom_storage_context.h"
#include "chrome/browser/intranet_redirect_detector.h"
#include "chrome/browser/io_thread.h"
#include "chrome/browser/metrics/metrics_service.h"
@@ -504,7 +503,6 @@ bool BrowserProcessImpl::have_inspector_files() const {
void BrowserProcessImpl::ClearLocalState(const FilePath& profile_path) {
SQLitePersistentCookieStore::ClearLocalState(profile_path.Append(
chrome::kCookieFilename));
- DOMStorageContext::ClearLocalState(profile_path, chrome::kExtensionScheme);
webkit_database::DatabaseTracker::ClearLocalState(profile_path);
ChromeAppCacheService::ClearLocalState(profile_path);
}