diff options
author | jackhou@chromium.org <jackhou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-29 01:51:44 +0000 |
---|---|---|
committer | jackhou@chromium.org <jackhou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-29 01:51:44 +0000 |
commit | 425f7a0afb038772bf0d1bfb007a1ccb13dfae35 (patch) | |
tree | b2105f30f45bbd4b7315922b5f1cb262bfc90df4 /chrome/common/chrome_switches.cc | |
parent | ac296392d7ab509cda68f9465e0f3f23bc383879 (diff) | |
download | chromium_src-425f7a0afb038772bf0d1bfb007a1ccb13dfae35.zip chromium_src-425f7a0afb038772bf0d1bfb007a1ccb13dfae35.tar.gz chromium_src-425f7a0afb038772bf0d1bfb007a1ccb13dfae35.tar.bz2 |
Prevent Chrome from quitting when apps are open. (Mac)
This is added behind --apps-keep-chrome-alive.
When Chrome is quit, a notification is shown to let the user know that
Chrome will continue running.
The browser session should be shut down like on Windows, but that is
not yet implemented. Similarly, quitting all the apps should quit
Chrome. These will be added in followup CLs.
BUG=333429
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265889
Review URL: https://codereview.chromium.org/220373003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266731 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r-- | chrome/common/chrome_switches.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index b1c678c..d77948e 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -1362,6 +1362,9 @@ const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; #endif // defined(OS_LINUX) && !defined(OS_CHROMEOS) #if defined(OS_MACOSX) +// Prevents Chrome from quitting when Chrome Apps are open. +const char kAppsKeepChromeAlive[] = "apps-keep-chrome-alive"; + // Disables the creation and launch of app shims for platform apps. const char kDisableAppShims[] = "disable-app-shims"; |