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