summaryrefslogtreecommitdiffstats
path: root/chrome/browser/utility_process_host.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-15 08:04:36 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-15 08:04:36 +0000
commitcdba23d8f4889885b90b5a79c2e5dd4aa55e6f61 (patch)
tree5b60ac76f7a6fc597fddb4395eb214e53bceaab8 /chrome/browser/utility_process_host.cc
parent7c076ff0e9b0bfbce614f37267310e368ec7245a (diff)
downloadchromium_src-cdba23d8f4889885b90b5a79c2e5dd4aa55e6f61.zip
chromium_src-cdba23d8f4889885b90b5a79c2e5dd4aa55e6f61.tar.gz
chromium_src-cdba23d8f4889885b90b5a79c2e5dd4aa55e6f61.tar.bz2
Add launch configuration to apps. Create a desktop shortcut
if launch configuration is present. Future changes will add UI asking if the user wants to create a shortcut first, and change the presentation when the shortcut is launched. Review URL: http://codereview.chromium.org/543055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36337 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/utility_process_host.cc')
-rw-r--r--chrome/browser/utility_process_host.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/utility_process_host.cc b/chrome/browser/utility_process_host.cc
index ccef437..29ed98f 100644
--- a/chrome/browser/utility_process_host.cc
+++ b/chrome/browser/utility_process_host.cc
@@ -83,6 +83,9 @@ bool UtilityProcessHost::StartProcess(const FilePath& exposed_dir) {
if (browser_command_line.HasSwitch(switches::kChromeFrame))
cmd_line->AppendSwitch(switches::kChromeFrame);
+ if (browser_command_line.HasSwitch(switches::kEnableExtensionApps))
+ cmd_line->AppendSwitch(switches::kEnableExtensionApps);
+
#if defined(OS_POSIX)
// TODO(port): Sandbox this on Linux. Also, zygote this to work with
// Linux updating.