From f0d583dfa0a622cf3c6b7c494a91bc9f0e1fc959 Mon Sep 17 00:00:00 2001 From: "huangs@chromium.org" Date: Sun, 20 Jan 2013 00:37:49 +0000 Subject: During App Launcher install, install V2 App if instructed to do so via environment variable. The environment variable read is GoogleUpdateUntrustedData. To test this: 1. Set the following environmental variable (to install Smooth Life): set GoogleUpdateUntrustedData=install-from-webstore=cehnejjbgmkcpmabgambbdjiechjaped 2. Install App Launcher: mini_installer.exe --verbose-logging --multi-install --app-launcher We're making 'setup' depend on 'launcher_support' because install.c needs to call chrome_launcher_support::GetAnyAppHostPath(). BUG=151107 Review URL: https://chromiumcodereview.appspot.com/11737011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177855 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/installer/setup/install.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chrome/installer/setup/install.h') diff --git a/chrome/installer/setup/install.h b/chrome/installer/setup/install.h index b8c35f1..abf0ab3 100644 --- a/chrome/installer/setup/install.h +++ b/chrome/installer/setup/install.h @@ -131,6 +131,11 @@ void HandleActiveSetupForBrowser(const FilePath& installation_root, const Product& chrome, bool force); +// Launches app_host.exe to install content from web store (non-blocking). +// Returns true on successful execution (although successful installation +// is not guaranteed). +bool InstallFromWebstore(const std::string& app_code); + } // namespace installer #endif // CHROME_INSTALLER_SETUP_INSTALL_H_ -- cgit v1.1