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

Unified Diff: chrome/browser/background/background_mode_manager.h

Issue 25414005: Clear session-only data when all browser windows are closed. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 2 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 | « no previous file | chrome/browser/background/background_mode_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/background/background_mode_manager.h
diff --git a/chrome/browser/background/background_mode_manager.h b/chrome/browser/background/background_mode_manager.h
index 118d38693ae9d49c27e47a14ee628dc520a11670..0494f5a2abde2d94d568fa040e1ab993c5ea767d 100644
--- a/chrome/browser/background/background_mode_manager.h
+++ b/chrome/browser/background/background_mode_manager.h
@@ -60,6 +60,9 @@ class BackgroundModeManager
static void LaunchBackgroundApplication(Profile* profile,
const extensions::Extension* extension);
+ // Returns true if background mode is active.
+ virtual bool IsBackgroundModeActive();
+
// For testing purposes.
int NumberOfBackgroundModeData();
@@ -246,9 +249,6 @@ class BackgroundModeManager
// (virtual to allow overriding in tests).
virtual bool IsBackgroundModePrefEnabled() const;
- // Returns true if background mode is active. Used only by tests.
- bool IsBackgroundModeActiveForTest();
-
// Turns off background mode if it's currently enabled.
void DisableBackgroundMode();
« no previous file with comments | « no previous file | chrome/browser/background/background_mode_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698