diff options
author | zelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-04 22:01:47 +0000 |
---|---|---|
committer | zelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-04 22:01:47 +0000 |
commit | 77e9261dbc1d2dde8dc11189a111453862e1dd1c (patch) | |
tree | 1b624f11178e89715e2fe12aa4d7be509bc20ef8 /chrome/browser/extensions/startup_helper.cc | |
parent | 2531fccd8e7833ae19ed34d921f1b837a24122f3 (diff) | |
download | chromium_src-77e9261dbc1d2dde8dc11189a111453862e1dd1c.zip chromium_src-77e9261dbc1d2dde8dc11189a111453862e1dd1c.tar.gz chromium_src-77e9261dbc1d2dde8dc11189a111453862e1dd1c.tar.bz2 |
Added app install UI for kiosk runtime.
BUG=173010
TEST=pass following switches to chrome: --install-from-webstore=<app_id> --app-id=<app_id> --force-app-mode
Review URL: https://codereview.chromium.org/12086076
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180535 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/startup_helper.cc')
-rw-r--r-- | chrome/browser/extensions/startup_helper.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/extensions/startup_helper.cc b/chrome/browser/extensions/startup_helper.cc index 0ae2dd6..7f92d8e 100644 --- a/chrome/browser/extensions/startup_helper.cc +++ b/chrome/browser/extensions/startup_helper.cc @@ -139,7 +139,9 @@ bool StartupHelper::InstallFromWebstore(const CommandLine& cmd_line, web_contents.get(), id, WebstoreStandaloneInstaller::DO_NOT_REQUIRE_VERIFIED_SITE, - WebstoreStandaloneInstaller::STANDARD_PROMPT, + cmd_line.HasSwitch(switches::kForceAppMode) ? + WebstoreStandaloneInstaller::SKIP_PROMPT : + WebstoreStandaloneInstaller::STANDARD_PROMPT , GURL(), callback)); installer->set_skip_post_install_ui(true); |