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. Whether to instruct the installer to auto-launch chrome on computer | |
21 // startup. The default (if not provided) is |false|. | |
22 extern const char kAutoLaunchChrome[]; | |
23 // Boolean. This is to be a Chrome install. (When using MultiInstall) | 20 // Boolean. This is to be a Chrome install. (When using MultiInstall) |
24 extern const char kChrome[]; | 21 extern const char kChrome[]; |
25 // Integer. Icon index from chrome.exe to use for shortcuts. | 22 // Integer. Icon index from chrome.exe to use for shortcuts. |
26 extern const char kChromeShortcutIconIndex[]; | 23 extern const char kChromeShortcutIconIndex[]; |
27 // Boolean. This is a legacy preference and should no longer be used; it is | 24 // Boolean. This is a legacy preference and should no longer be used; it is |
28 // kept around so that old master_preferences which specify | 25 // kept around so that old master_preferences which specify |
29 // "create_all_shortcuts":false still enforce the new | 26 // "create_all_shortcuts":false still enforce the new |
30 // "do_not_create_(desktop|quick_launch)_shortcut" preferences. Setting this to | 27 // "do_not_create_(desktop|quick_launch)_shortcut" preferences. Setting this to |
31 // true no longer has any impact. | 28 // true no longer has any impact. |
32 extern const char kCreateAllShortcuts[]; | 29 extern const char kCreateAllShortcuts[]; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 // Boolean. Install Chrome to system wise location. Cmd line override present. | 93 // Boolean. Install Chrome to system wise location. Cmd line override present. |
97 extern const char kSystemLevel[]; | 94 extern const char kSystemLevel[]; |
98 // Boolean. Run installer in verbose mode. Cmd line override present. | 95 // Boolean. Run installer in verbose mode. Cmd line override present. |
99 extern const char kVerboseLogging[]; | 96 extern const char kVerboseLogging[]; |
100 // Name of the block that contains the extensions on the master preferences. | 97 // Name of the block that contains the extensions on the master preferences. |
101 extern const char kExtensionsBlock[]; | 98 extern const char kExtensionsBlock[]; |
102 } // namespace master_preferences | 99 } // namespace master_preferences |
103 } // namespace installer | 100 } // namespace installer |
104 | 101 |
105 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ | 102 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ |
OLD | NEW |