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 #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. Whether to instruct the installer to auto-launch chrome on computer | 21 // Boolean. Whether to instruct the installer to auto-launch chrome on computer |
22 // startup. The default (if not provided) is |false|. | 22 // startup. The default (if not provided) is |false|. |
23 extern const char kAutoLaunchChrome[]; | 23 extern const char kAutoLaunchChrome[]; |
24 // Boolean. This is to be a Chrome install. (When using MultiInstall) | 24 // Boolean. This is to be a Chrome install. (When using MultiInstall) |
25 extern const char kChrome[]; | 25 extern const char kChrome[]; |
| 26 // Boolean. This is to be a Chrome App Host install. |
| 27 extern const char kChromeAppHost[]; |
26 // Boolean. This is to be a Chrome Frame install. | 28 // Boolean. This is to be a Chrome Frame install. |
27 extern const char kChromeFrame[]; | 29 extern const char kChromeFrame[]; |
28 // Boolean. Chrome Frame is to be installed in ready-mode. | 30 // Boolean. Chrome Frame is to be installed in ready-mode. |
29 extern const char kChromeFrameReadyMode[]; | 31 extern const char kChromeFrameReadyMode[]; |
30 // Integer. Icon index from chrome.exe to use for shortcuts. | 32 // Integer. Icon index from chrome.exe to use for shortcuts. |
31 extern const char kChromeShortcutIconIndex[]; | 33 extern const char kChromeShortcutIconIndex[]; |
32 // Boolean. Create Desktop and QuickLaunch shortcuts. Cmd line override present. | 34 // Boolean. Create Desktop and QuickLaunch shortcuts. Cmd line override present. |
33 extern const char kCreateAllShortcuts[]; | 35 extern const char kCreateAllShortcuts[]; |
34 // Boolean pref that disables all logging. | 36 // Boolean pref that disables all logging. |
35 extern const char kDisableLogging[]; | 37 extern const char kDisableLogging[]; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 // Boolean. Install Chrome to system wise location. Cmd line override present. | 74 // Boolean. Install Chrome to system wise location. Cmd line override present. |
73 extern const char kSystemLevel[]; | 75 extern const char kSystemLevel[]; |
74 // Boolean. Run installer in verbose mode. Cmd line override present. | 76 // Boolean. Run installer in verbose mode. Cmd line override present. |
75 extern const char kVerboseLogging[]; | 77 extern const char kVerboseLogging[]; |
76 // Name of the block that contains the extensions on the master preferences. | 78 // Name of the block that contains the extensions on the master preferences. |
77 extern const char kExtensionsBlock[]; | 79 extern const char kExtensionsBlock[]; |
78 } // namespace master_preferences | 80 } // namespace master_preferences |
79 } // namespace installer | 81 } // namespace installer |
80 | 82 |
81 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ | 83 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ |
OLD | NEW |