| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | 4 // |
| 5 // This file contains the constants used to process master_preferences files | 5 // This file contains the constants used to process master_preferences files |
| 6 // used by setup and first run. | 6 // used by setup and first run. |
| 7 | 7 |
| 8 #ifndef CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ | 8 #ifndef CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ |
| 9 #define CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ | 9 #define CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ |
| 10 | 10 |
| 11 namespace installer { | 11 namespace installer { |
| 12 namespace master_preferences { | 12 namespace master_preferences { |
| 13 // All the preferences below are expected to be inside the JSON "distribution" | 13 // All the preferences below are expected to be inside the JSON "distribution" |
| 14 // block. Some of them also have equivalent command line option. If same option | 14 // block. Some of them also have equivalent command line option. If same option |
| 15 // is specified in master preference as well as command line, the command line | 15 // is specified in master preference as well as command line, the command line |
| 16 // value takes precedence. | 16 // value takes precedence. |
| 17 | 17 |
| 18 // Boolean. This is to be a Chrome install. (When using MultiInstall) | |
| 19 extern const char kChrome[]; | |
| 20 // Boolean. This is a legacy preference and should no longer be used; it is | 18 // Boolean. This is a legacy preference and should no longer be used; it is |
| 21 // kept around so that old master_preferences which specify | 19 // kept around so that old master_preferences which specify |
| 22 // "create_all_shortcuts":false still enforce the new | 20 // "create_all_shortcuts":false still enforce the new |
| 23 // "do_not_create_(desktop|quick_launch)_shortcut" preferences. Setting this to | 21 // "do_not_create_(desktop|quick_launch)_shortcut" preferences. Setting this to |
| 24 // true no longer has any impact. | 22 // true no longer has any impact. |
| 25 extern const char kCreateAllShortcuts[]; | 23 extern const char kCreateAllShortcuts[]; |
| 26 // Boolean pref that disables all logging. | 24 // Boolean pref that disables all logging. |
| 27 extern const char kDisableLogging[]; | 25 extern const char kDisableLogging[]; |
| 28 // Name of the dictionary that holds the distribution values. | 26 // Name of the dictionary that holds the distribution values. |
| 29 extern const char kDistroDict[]; | 27 extern const char kDistroDict[]; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 extern const char kVerboseLogging[]; | 90 extern const char kVerboseLogging[]; |
| 93 // Name of the block that contains the extensions on the master preferences. | 91 // Name of the block that contains the extensions on the master preferences. |
| 94 extern const char kExtensionsBlock[]; | 92 extern const char kExtensionsBlock[]; |
| 95 // Boolean. Allow Chrome to be downgraded to a previous version if true. | 93 // Boolean. Allow Chrome to be downgraded to a previous version if true. |
| 96 extern const char kAllowDowngrade[]; | 94 extern const char kAllowDowngrade[]; |
| 97 | 95 |
| 98 } // namespace master_preferences | 96 } // namespace master_preferences |
| 99 } // namespace installer | 97 } // namespace installer |
| 100 | 98 |
| 101 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ | 99 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ |
| OLD | NEW |