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. Use alternate text for the shortcut. Cmd line override present. | 18 // Boolean. Use alternate text for the shortcut. Cmd line override present. |
19 extern const char kAltShortcutText[]; | 19 extern const char kAltShortcutText[]; |
20 // Boolean. This is to be a Chrome install. (When using MultiInstall) | 20 // Boolean. This is to be a Chrome install. (When using MultiInstall) |
21 extern const char kChrome[]; | 21 extern const char kChrome[]; |
22 // Integer. Icon index from chrome.exe to use for shortcuts. | |
23 extern const char kChromeShortcutIconIndex[]; | |
24 // Boolean. This is a legacy preference and should no longer be used; it is | 22 // Boolean. This is a legacy preference and should no longer be used; it is |
25 // kept around so that old master_preferences which specify | 23 // kept around so that old master_preferences which specify |
26 // "create_all_shortcuts":false still enforce the new | 24 // "create_all_shortcuts":false still enforce the new |
27 // "do_not_create_(desktop|quick_launch)_shortcut" preferences. Setting this to | 25 // "do_not_create_(desktop|quick_launch)_shortcut" preferences. Setting this to |
28 // true no longer has any impact. | 26 // true no longer has any impact. |
29 extern const char kCreateAllShortcuts[]; | 27 extern const char kCreateAllShortcuts[]; |
30 // Boolean pref that disables all logging. | 28 // Boolean pref that disables all logging. |
31 extern const char kDisableLogging[]; | 29 extern const char kDisableLogging[]; |
32 // Name of the dictionary that holds the distribution values. | 30 // Name of the dictionary that holds the distribution values. |
33 extern const char kDistroDict[]; | 31 extern const char kDistroDict[]; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 // Boolean. Install Chrome to system wise location. Cmd line override present. | 91 // Boolean. Install Chrome to system wise location. Cmd line override present. |
94 extern const char kSystemLevel[]; | 92 extern const char kSystemLevel[]; |
95 // Boolean. Run installer in verbose mode. Cmd line override present. | 93 // Boolean. Run installer in verbose mode. Cmd line override present. |
96 extern const char kVerboseLogging[]; | 94 extern const char kVerboseLogging[]; |
97 // Name of the block that contains the extensions on the master preferences. | 95 // Name of the block that contains the extensions on the master preferences. |
98 extern const char kExtensionsBlock[]; | 96 extern const char kExtensionsBlock[]; |
99 } // namespace master_preferences | 97 } // namespace master_preferences |
100 } // namespace installer | 98 } // namespace installer |
101 | 99 |
102 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ | 100 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ |
OLD | NEW |