| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_util { | 11 namespace installer_util { |
| 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 commnd line | 15 // is specified in master preference as well as command line, the commnd 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 wchar_t kAltShortcutText[]; | 19 extern const wchar_t kAltShortcutText[]; |
| 20 // Boolean. Use alternate smaller first run info bubble. | 20 // Boolean. Use alternate smaller first run info bubble. |
| 21 extern const wchar_t kAltFirstRunBubble[]; | 21 extern const wchar_t kAltFirstRunBubble[]; |
| 22 // Boolean. This is to be a Chrome Frame install. |
| 23 extern const wchar_t kChromeFrame[]; |
| 22 // Integer. Icon index from chrome.exe to use for shortcuts. | 24 // Integer. Icon index from chrome.exe to use for shortcuts. |
| 23 extern const wchar_t kChromeShortcutIconIndex[]; | 25 extern const wchar_t kChromeShortcutIconIndex[]; |
| 24 // Boolean. Create Desktop and QuickLaunch shortcuts. Cmd line override present. | 26 // Boolean. Create Desktop and QuickLaunch shortcuts. Cmd line override present. |
| 25 extern const wchar_t kCreateAllShortcuts[]; | 27 extern const wchar_t kCreateAllShortcuts[]; |
| 26 // Boolean pref that triggers silent import of the default browser bookmarks. | 28 // Boolean pref that triggers silent import of the default browser bookmarks. |
| 27 extern const wchar_t kDistroImportBookmarksPref[]; | 29 extern const wchar_t kDistroImportBookmarksPref[]; |
| 28 // String pref that triggers silent import of bookmarks from the html file at | 30 // String pref that triggers silent import of bookmarks from the html file at |
| 29 // given path. | 31 // given path. |
| 30 extern const wchar_t kDistroImportBookmarksFromFilePref[]; | 32 extern const wchar_t kDistroImportBookmarksFromFilePref[]; |
| 31 // Boolean pref that triggers silent import of the default browser history. | 33 // Boolean pref that triggers silent import of the default browser history. |
| (...skipping 28 matching lines...) Expand all Loading... |
| 60 // Boolean. Run installer in verbose mode. Cmd line override present. | 62 // Boolean. Run installer in verbose mode. Cmd line override present. |
| 61 extern const wchar_t kVerboseLogging[]; | 63 extern const wchar_t kVerboseLogging[]; |
| 62 // Name of the block that contains the extensions on the master preferences. | 64 // Name of the block that contains the extensions on the master preferences. |
| 63 extern const wchar_t kExtensionsBlock[]; | 65 extern const wchar_t kExtensionsBlock[]; |
| 64 // Boolean. Use experimental search engine selection dialog. | 66 // Boolean. Use experimental search engine selection dialog. |
| 65 extern const wchar_t kSearchEngineExperimentPref[]; | 67 extern const wchar_t kSearchEngineExperimentPref[]; |
| 66 } | 68 } |
| 67 } | 69 } |
| 68 | 70 |
| 69 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ | 71 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ |
| OLD | NEW |