summaryrefslogtreecommitdiffstats
path: root/chrome/installer/setup/install.h
diff options
context:
space:
mode:
authorhuangs@chromium.org <huangs@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-20 00:37:49 +0000
committerhuangs@chromium.org <huangs@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-20 00:37:49 +0000
commitf0d583dfa0a622cf3c6b7c494a91bc9f0e1fc959 (patch)
treefb43ab5dad5c4e0094ef57cd5f18a4804e42a747 /chrome/installer/setup/install.h
parent3dbd64d89febbe85df9b53ad16fbdca06ecdeb9a (diff)
downloadchromium_src-f0d583dfa0a622cf3c6b7c494a91bc9f0e1fc959.zip
chromium_src-f0d583dfa0a622cf3c6b7c494a91bc9f0e1fc959.tar.gz
chromium_src-f0d583dfa0a622cf3c6b7c494a91bc9f0e1fc959.tar.bz2
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
Diffstat (limited to 'chrome/installer/setup/install.h')
-rw-r--r--chrome/installer/setup/install.h5
1 files changed, 5 insertions, 0 deletions
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_