Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2144)

Unified Diff: chrome/browser/browser_process_impl.h

Issue 560024: Reland 37913. Clear local state on exit. (Closed)
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.h
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
index e5c83e1763a67f42bd4b7ff68d413f95638e686d..ec03c2f493ea492d17022f8586734294d8dc4e57 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();
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698