diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-03 02:35:08 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-03 02:35:08 +0000 |
commit | 4ef795df1f1a20a0aed61979fba034d4c7bcbd8d (patch) | |
tree | 0706238073f27beaed3b420d0cd9c13d28cdb56d /chrome/browser/browser_process_impl.h | |
parent | 43f28f83bc268dea720843a2616058b64b3e8810 (diff) | |
download | chromium_src-4ef795df1f1a20a0aed61979fba034d4c7bcbd8d.zip chromium_src-4ef795df1f1a20a0aed61979fba034d4c7bcbd8d.tar.gz chromium_src-4ef795df1f1a20a0aed61979fba034d4c7bcbd8d.tar.bz2 |
Reland 37913. Clear local state on exit.
BUG=32719
TEST=none
Review URL: http://codereview.chromium.org/560024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37936 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process_impl.h')
-rw-r--r-- | chrome/browser/browser_process_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h index e5c83e1..ec03c2f 100644 --- a/chrome/browser/browser_process_impl.h +++ b/chrome/browser/browser_process_impl.h @@ -26,6 +26,7 @@ #endif class CommandLine; +class FilePath; class NotificationService; // Real implementation of BrowserProcess that creates and returns the services. @@ -212,6 +213,9 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe { #endif private: + void ClearLocalState(const FilePath& profile_path); + bool ShouldClearLocalState(FilePath* profile_path); + void CreateResourceDispatcherHost(); void CreatePrefService(); void CreateMetricsService(); |