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

Unified Diff: apps/app_window_registry.h

Issue 220373003: Prevent Chrome from quitting when apps are open. (Mac) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 6 years, 9 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 | apps/app_window_registry.cc » ('j') | apps/app_window_registry.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_window_registry.h
diff --git a/apps/app_window_registry.h b/apps/app_window_registry.h
index 5be20797c59c41823073eef30b3ee53c9d476756..88b71bc8ef8c3b0f72e3c86449275b07a7fb67d6 100644
--- a/apps/app_window_registry.h
+++ b/apps/app_window_registry.h
@@ -100,6 +100,9 @@ class AppWindowRegistry : public KeyedService {
// AppWindow::WindowType, or 0 for any window type.
static bool IsAppWindowRegisteredInAnyProfile(int window_type_mask);
+ // Close all app windows in all profiles.
+ static void CloseAllAppWindows();
+
class Factory : public BrowserContextKeyedServiceFactory {
public:
static AppWindowRegistry* GetForBrowserContext(
« no previous file with comments | « no previous file | apps/app_window_registry.cc » ('j') | apps/app_window_registry.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698