| 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. Create Desktop and QuickLaunch shortcuts. Cmd line override present. | 35 // Boolean. Create Desktop and QuickLaunch shortcuts. Cmd line override present. |
| 34 extern const char kCreateAllShortcuts[]; | 36 extern const char kCreateAllShortcuts[]; |
| 35 // Boolean pref that disables all logging. | 37 // Boolean pref that disables all logging. |
| 36 extern const char kDisableLogging[]; | 38 extern const char kDisableLogging[]; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 // Boolean. Install Chrome to system wise location. Cmd line override present. | 82 // Boolean. Install Chrome to system wise location. Cmd line override present. |
| 81 extern const char kSystemLevel[]; | 83 extern const char kSystemLevel[]; |
| 82 // Boolean. Run installer in verbose mode. Cmd line override present. | 84 // Boolean. Run installer in verbose mode. Cmd line override present. |
| 83 extern const char kVerboseLogging[]; | 85 extern const char kVerboseLogging[]; |
| 84 // Name of the block that contains the extensions on the master preferences. | 86 // Name of the block that contains the extensions on the master preferences. |
| 85 extern const char kExtensionsBlock[]; | 87 extern const char kExtensionsBlock[]; |
| 86 } // namespace master_preferences | 88 } // namespace master_preferences |
| 87 } // namespace installer | 89 } // namespace installer |
| 88 | 90 |
| 89 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ | 91 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ |
| OLD | NEW |