diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-15 08:47:48 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-15 08:47:48 +0000 |
commit | 92bcd16fb15f54a0ea510597bebdad7d4d4297dc (patch) | |
tree | 51b8063da05a5d674e993eed0a83aafea6419b7d /chrome/browser/utility_process_host.cc | |
parent | f36ed64560f4b52724d223bc870addc5a5e3b73c (diff) | |
download | chromium_src-92bcd16fb15f54a0ea510597bebdad7d4d4297dc.zip chromium_src-92bcd16fb15f54a0ea510597bebdad7d4d4297dc.tar.gz chromium_src-92bcd16fb15f54a0ea510597bebdad7d4d4297dc.tar.bz2 |
Reland 36337: 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.
TBR=erikkay@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36340 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/utility_process_host.cc')
-rw-r--r-- | chrome/browser/utility_process_host.cc | 3 |
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. |