OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 10 #pragma once |
11 | 11 |
12 namespace installer { | 12 namespace installer { |
13 namespace master_preferences { | 13 namespace master_preferences { |
14 // All the preferences below are expected to be inside the JSON "distribution" | 14 // All the preferences below are expected to be inside the JSON "distribution" |
15 // block. Some of them also have equivalent command line option. If same option | 15 // block. Some of them also have equivalent command line option. If same option |
16 // is specified in master preference as well as command line, the command line | 16 // is specified in master preference as well as command line, the command line |
17 // value takes precedence. | 17 // value takes precedence. |
18 | 18 |
19 // Boolean. Use alternate text for the shortcut. Cmd line override present. | 19 // Boolean. Use alternate text for the shortcut. Cmd line override present. |
20 extern const char kAltShortcutText[]; | 20 extern const char kAltShortcutText[]; |
21 // Boolean. Use alternate smaller first run info bubble. | 21 // Boolean. Use alternate smaller first run info bubble. |
22 extern const char kAltFirstRunBubble[]; | 22 extern const char kAltFirstRunBubble[]; |
23 // Boolean. Whether to instruct the installer to auto-launch chrome on computer | 23 // Boolean. Whether to instruct the installer to auto-launch chrome on computer |
24 // startup. The default (if not provided) is |false|. | 24 // startup. The default (if not provided) is |false|. |
25 extern const char kAutoLaunchChrome[]; | 25 extern const char kAutoLaunchChrome[]; |
26 // Boolean. CEEE features of Chrome Frame should be enabled as part of | |
27 // the install. Requires kChromeFrame to be specified as well. | |
28 extern const char kCeee[]; | |
29 // Boolean. This is to be a Chrome install. (When using MultiInstall) | 26 // Boolean. This is to be a Chrome install. (When using MultiInstall) |
30 extern const char kChrome[]; | 27 extern const char kChrome[]; |
31 // Boolean. This is to be a Chrome Frame install. | 28 // Boolean. This is to be a Chrome Frame install. |
32 extern const char kChromeFrame[]; | 29 extern const char kChromeFrame[]; |
33 // Boolean. Chrome Frame is to be installed in ready-mode. | 30 // Boolean. Chrome Frame is to be installed in ready-mode. |
34 extern const char kChromeFrameReadyMode[]; | 31 extern const char kChromeFrameReadyMode[]; |
35 // Integer. Icon index from chrome.exe to use for shortcuts. | 32 // Integer. Icon index from chrome.exe to use for shortcuts. |
36 extern const char kChromeShortcutIconIndex[]; | 33 extern const char kChromeShortcutIconIndex[]; |
37 // Boolean. Create Desktop and QuickLaunch shortcuts. Cmd line override present. | 34 // Boolean. Create Desktop and QuickLaunch shortcuts. Cmd line override present. |
38 extern const char kCreateAllShortcuts[]; | 35 extern const char kCreateAllShortcuts[]; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 // Boolean. Install Chrome to system wise location. Cmd line override present. | 80 // Boolean. Install Chrome to system wise location. Cmd line override present. |
84 extern const char kSystemLevel[]; | 81 extern const char kSystemLevel[]; |
85 // Boolean. Run installer in verbose mode. Cmd line override present. | 82 // Boolean. Run installer in verbose mode. Cmd line override present. |
86 extern const char kVerboseLogging[]; | 83 extern const char kVerboseLogging[]; |
87 // Name of the block that contains the extensions on the master preferences. | 84 // Name of the block that contains the extensions on the master preferences. |
88 extern const char kExtensionsBlock[]; | 85 extern const char kExtensionsBlock[]; |
89 } // namespace master_preferences | 86 } // namespace master_preferences |
90 } // namespace installer | 87 } // namespace installer |
91 | 88 |
92 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ | 89 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ |
OLD | NEW |