diff options
author | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-11 19:24:26 +0000 |
---|---|---|
committer | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-11 19:24:26 +0000 |
commit | 74417a819d52539d3b23ab4fc22143f080cc575c (patch) | |
tree | 551fbea34d046295b32b9d250c12a3491c1143ba /chrome/installer/setup | |
parent | b49c88564b3a9dd58046440d3754d57dca05fef8 (diff) | |
download | chromium_src-74417a819d52539d3b23ab4fc22143f080cc575c.zip chromium_src-74417a819d52539d3b23ab4fc22143f080cc575c.tar.gz chromium_src-74417a819d52539d3b23ab4fc22143f080cc575c.tar.bz2 |
Inform google_update that the user has acepted the EULA
- reg key lives in hklm but we can write it
BUG=b/1594565
Review URL: http://codereview.chromium.org/43061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11469 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/setup')
-rw-r--r-- | chrome/installer/setup/main.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/installer/setup/main.cc b/chrome/installer/setup/main.cc index 6a2a170..c88d289 100644 --- a/chrome/installer/setup/main.cc +++ b/chrome/installer/setup/main.cc @@ -26,6 +26,7 @@ #include "chrome/installer/util/l10n_string_util.h" #include "chrome/installer/util/logging_installer.h" #include "chrome/installer/util/lzma_util.h" +#include "chrome/installer/util/google_update_settings.h" #include "chrome/installer/util/google_update_constants.h" #include "chrome/installer/util/master_preferences.h" #include "chrome/installer/util/shell_util.h" @@ -544,7 +545,9 @@ int WINAPI wWinMain(HINSTANCE instance, HINSTANCE prev_instance, // Check if we need to show the EULA. If it is passed as a command line // then the dialog is shown and regardless of the outcome setup exits here. if (parsed_command_line.HasSwitch(installer_util::switches::kShowEula)) { - return ShowEULADialog(); + installer_util::InstallStatus eula = ShowEULADialog(); + GoogleUpdateSettings::SetEULAConsent(installer_util::EULA_REJECTED != eula); + return eula; } // If --register-chrome-browser option is specified, register all |