diff options
author | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-22 18:29:07 +0000 |
---|---|---|
committer | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-22 18:29:07 +0000 |
commit | 44ba935029f27b22fdd5633218bbb9f860a32588 (patch) | |
tree | 1b9933427a84928bc9c09ef6b6d56d658bb09f8e /chrome/installer/util/master_preferences.h | |
parent | 64350dada9cbde0a6179e6d6d4a5c7a0b457c124 (diff) | |
download | chromium_src-44ba935029f27b22fdd5633218bbb9f860a32588.zip chromium_src-44ba935029f27b22fdd5633218bbb9f860a32588.tar.gz chromium_src-44ba935029f27b22fdd5633218bbb9f860a32588.tar.bz2 |
Add the EULA distro param
- Add basic tests for distro params parsing
Review URL: http://codereview.chromium.org/18470
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8477 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/master_preferences.h')
-rw-r--r-- | chrome/installer/util/master_preferences.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/chrome/installer/util/master_preferences.h b/chrome/installer/util/master_preferences.h index e53ba87..2ba0b88 100644 --- a/chrome/installer/util/master_preferences.h +++ b/chrome/installer/util/master_preferences.h @@ -26,9 +26,9 @@ enum MasterPrefResult { MASTER_PROFILE_NO_FIRST_RUN_UI = 0x1 << 2, // Show welcome page. MASTER_PROFILE_SHOW_WELCOME = 0x1 << 3, - // Improt search engine setting from the default browser. + // Import search engine setting from the default browser. MASTER_PROFILE_IMPORT_SEARCH_ENGINE = 0x1 << 4, - // Improt history from the default browser. + // Import history from the default browser. MASTER_PROFILE_IMPORT_HISTORY = 0x1 << 5, // The following boolean prefs have the same semantics as the corresponding // setup command line switches. See chrome/installer/util/util_constants.cc @@ -43,7 +43,8 @@ enum MasterPrefResult { MASTER_PROFILE_SYSTEM_LEVEL = 0x1 << 9, // Run installer in verbose mode. MASTER_PROFILE_VERBOSE_LOGGING = 0x1 << 10, - + // Show the EULA and do not install if not accepted. + MASTER_PROFILE_REQUIRE_EULA = 0x1 << 11 }; // The master preferences is a JSON file with the same entries as the @@ -57,12 +58,13 @@ enum MasterPrefResult { // "skip_first_run_ui": true, // "show_welcome_page": true, // "import_search_engine": true, -// "import_history": false +// "import_history": false, // "create_all_shortcuts": true, // "do_not_launch_chrome": false, // "make_chrome_default": false, // "system_level": false, -// "verbose_logging": true +// "verbose_logging": true, +// "require_eula": true // }, // "browser": { // "show_home_button": true |