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

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: Sync and rebase Created 6 years, 8 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') | no next file with comments »
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 5a347684247318a27a351d845429b03110b4fc0a..ebde35090393ca238ce37ff3e9f32d96aa984dc0 100644
--- a/apps/app_window_registry.h
+++ b/apps/app_window_registry.h
@@ -108,6 +108,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698