summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/startup_helper.cc
diff options
context:
space:
mode:
authorlevin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-20 12:59:15 +0000
committerlevin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-20 12:59:15 +0000
commit47617129918d70c124efca65709b0aa3903f01d7 (patch)
treecccad2a708ba9c97bf1c5c75be0532c310023401 /chrome/browser/extensions/startup_helper.cc
parentb06b39cbd5ecb07880cb1bcbe2d82cbb1c155d48 (diff)
downloadchromium_src-47617129918d70c124efca65709b0aa3903f01d7.zip
chromium_src-47617129918d70c124efca65709b0aa3903f01d7.tar.gz
chromium_src-47617129918d70c124efca65709b0aa3903f01d7.tar.bz2
Two fixes for the limited install from webstore flag.
1. Add the resource to chrome.exe so that omaha can use it for app commands. 2. Make extension install not prompt because the window launches behind the current window (along with other problems) which results in a bad user experience. Note that the only code path touched is strictly only hit by the limited install from webstore code path. TESTED=The unit test and tested the functionality using a test page which calls the app command. BUG=233783 Review URL: https://chromiumcodereview.appspot.com/14381004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195393 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/startup_helper.cc')
-rw-r--r--chrome/browser/extensions/startup_helper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/startup_helper.cc b/chrome/browser/extensions/startup_helper.cc
index 90fb938..5f3a90c 100644
--- a/chrome/browser/extensions/startup_helper.cc
+++ b/chrome/browser/extensions/startup_helper.cc
@@ -322,7 +322,7 @@ void StartupHelper::LimitedInstallFromWebstore(
}
AppInstallHelper* helper = new AppInstallHelper();
- helper->BeginInstall(profile, id, true /*show_prompt*/,
+ helper->BeginInstall(profile, id, false /*show_prompt*/,
base::Bind(&DeleteHelperAndRunCallback,
helper, done_callback));
}