diff options
author | huangs@chromium.org <huangs@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-01 03:18:35 +0000 |
---|---|---|
committer | huangs@chromium.org <huangs@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-01 03:18:35 +0000 |
commit | 60c8c0bbbdb7b9a9a222c3a2532e4a5f8c511bb9 (patch) | |
tree | 83a643ba8debfaa66c881285c5ffa05a60df4419 /chrome/installer/util/util_constants.h | |
parent | f5864911d8c71c4bd6585e6c6a42858a9c2155d0 (diff) | |
download | chromium_src-60c8c0bbbdb7b9a9a222c3a2532e4a5f8c511bb9.zip chromium_src-60c8c0bbbdb7b9a9a222c3a2532e4a5f8c511bb9.tar.gz chromium_src-60c8c0bbbdb7b9a9a222c3a2532e4a5f8c511bb9.tar.bz2 |
Implementing app command to query EULA acceptance state for Chrome.
There are 2 parts to this change:
1. Implement setup.exe switch --query-eula-acceptance, and return the result via exit code.
- Main use case is system-level, which requires the "--system-level" switch.
- Return code: 0 if "not accepted", 1 if "accepted", and -1 if failed.
2. Add the app command query-eula-acceptance to Chrome binary during installation to execute:
setup.exe --query-eula-acceptance [--system-level]
BUG=151303
TBR=ben
Review URL: https://chromiumcodereview.appspot.com/12035043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180052 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/util_constants.h')
-rw-r--r-- | chrome/installer/util/util_constants.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/installer/util/util_constants.h b/chrome/installer/util/util_constants.h index da07084..3892cc2a 100644 --- a/chrome/installer/util/util_constants.h +++ b/chrome/installer/util/util_constants.h @@ -158,6 +158,7 @@ extern const char kMsi[]; extern const char kMultiInstall[]; extern const char kNewSetupExe[]; extern const char kOnOsUpgrade[]; +extern const char kQueryEULAAcceptance[]; extern const char kRegisterChromeBrowser[]; extern const char kRegisterChromeBrowserSuffix[]; extern const char kRegisterDevChrome[]; @@ -191,6 +192,7 @@ extern const wchar_t kChromeOldExe[]; extern const wchar_t kChromeNewExe[]; extern const wchar_t kCmdInstallApp[]; extern const wchar_t kCmdOnOsUpgrade[]; +extern const wchar_t kCmdQueryEULAAcceptance[]; extern const wchar_t kCmdQuickEnableApplicationHost[]; extern const wchar_t kCmdQuickEnableCf[]; extern const wchar_t kDelegateExecuteExe[]; |