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 #pragma once | 10 #pragma once |
11 | 11 |
12 namespace installer_util { | 12 namespace installer_util { |
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 commnd line | 16 // is specified in master preference as well as command line, the commnd 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 wchar_t 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 wchar_t kAltFirstRunBubble[]; | 22 extern const char kAltFirstRunBubble[]; |
23 // Boolean. This is to be a Chrome Frame install. | 23 // Boolean. This is to be a Chrome Frame install. |
24 extern const wchar_t kChromeFrame[]; | 24 extern const char kChromeFrame[]; |
25 // Integer. Icon index from chrome.exe to use for shortcuts. | 25 // Integer. Icon index from chrome.exe to use for shortcuts. |
26 extern const wchar_t kChromeShortcutIconIndex[]; | 26 extern const char kChromeShortcutIconIndex[]; |
27 // Boolean. Create Desktop and QuickLaunch shortcuts. Cmd line override present. | 27 // Boolean. Create Desktop and QuickLaunch shortcuts. Cmd line override present. |
28 extern const wchar_t kCreateAllShortcuts[]; | 28 extern const char kCreateAllShortcuts[]; |
29 // Boolean pref that triggers silent import of the default browser bookmarks. | 29 // Boolean pref that triggers silent import of the default browser bookmarks. |
30 extern const wchar_t kDistroImportBookmarksPref[]; | 30 extern const char kDistroImportBookmarksPref[]; |
31 // String pref that triggers silent import of bookmarks from the html file at | 31 // String pref that triggers silent import of bookmarks from the html file at |
32 // given path. | 32 // given path. |
33 extern const wchar_t kDistroImportBookmarksFromFilePref[]; | 33 extern const char kDistroImportBookmarksFromFilePref[]; |
34 // Boolean pref that triggers silent import of the default browser history. | 34 // Boolean pref that triggers silent import of the default browser history. |
35 extern const wchar_t kDistroImportHistoryPref[]; | 35 extern const char kDistroImportHistoryPref[]; |
36 // Boolean pref that triggers silent import of the default browser homepage. | 36 // Boolean pref that triggers silent import of the default browser homepage. |
37 extern const wchar_t kDistroImportHomePagePref[]; | 37 extern const char kDistroImportHomePagePref[]; |
38 // Boolean pref that triggers silent import of the default search engine. | 38 // Boolean pref that triggers silent import of the default search engine. |
39 extern const wchar_t kDistroImportSearchPref[]; | 39 extern const char kDistroImportSearchPref[]; |
40 // Integer. RLZ ping delay in seconds. | 40 // Integer. RLZ ping delay in seconds. |
41 extern const wchar_t kDistroPingDelay[]; | 41 extern const char kDistroPingDelay[]; |
42 // Boolean pref that triggers loading the welcome page. | 42 // Boolean pref that triggers loading the welcome page. |
43 extern const wchar_t kDistroShowWelcomePage[]; | 43 extern const char kDistroShowWelcomePage[]; |
44 // Boolean pref that triggers skipping the first run dialogs. | 44 // Boolean pref that triggers skipping the first run dialogs. |
45 extern const wchar_t kDistroSkipFirstRunPref[]; | 45 extern const char kDistroSkipFirstRunPref[]; |
46 // Boolean. Do not show first run bubble, even if it would otherwise be shown. | 46 // Boolean. Do not show first run bubble, even if it would otherwise be shown. |
47 extern const wchar_t kDistroSuppressFirstRunBubble[]; | 47 extern const char kDistroSuppressFirstRunBubble[]; |
48 // Boolean. Do not create Chrome desktop shortcuts. Cmd line override present. | 48 // Boolean. Do not create Chrome desktop shortcuts. Cmd line override present. |
49 extern const wchar_t kDoNotCreateShortcuts[]; | 49 extern const char kDoNotCreateShortcuts[]; |
50 // Boolean. Do not launch Chrome after first install. Cmd line override present. | 50 // Boolean. Do not launch Chrome after first install. Cmd line override present. |
51 extern const wchar_t kDoNotLaunchChrome[]; | 51 extern const char kDoNotLaunchChrome[]; |
52 // Boolean. Do not register with Google Update to have Chrome launched after | 52 // Boolean. Do not register with Google Update to have Chrome launched after |
53 // install. Cmd line override present. | 53 // install. Cmd line override present. |
54 extern const wchar_t kDoNotRegisterForUpdateLaunch[]; | 54 extern const char kDoNotRegisterForUpdateLaunch[]; |
55 // Boolean. Register Chrome as default browser. Cmd line override present. | 55 // Boolean. Register Chrome as default browser. Cmd line override present. |
56 extern const wchar_t kMakeChromeDefault[]; | 56 extern const char kMakeChromeDefault[]; |
57 // Boolean. Register Chrome as default browser for the current user. | 57 // Boolean. Register Chrome as default browser for the current user. |
58 extern const wchar_t kMakeChromeDefaultForUser[]; | 58 extern const char kMakeChromeDefaultForUser[]; |
59 // Boolean. Expect to be run by an MSI installer. Cmd line override present. | 59 // Boolean. Expect to be run by an MSI installer. Cmd line override present. |
60 extern const wchar_t kMsi[]; | 60 extern const char kMsi[]; |
61 // Boolean. Show EULA dialog before install. | 61 // Boolean. Show EULA dialog before install. |
62 extern const wchar_t kRequireEula[]; | 62 extern const char kRequireEula[]; |
63 // Boolean. Use experimental search engine selection dialog. | 63 // Boolean. Use experimental search engine selection dialog. |
64 extern const wchar_t kSearchEngineExperimentPref[]; | 64 extern const char kSearchEngineExperimentPref[]; |
65 // Boolean. Randomize logos in experimental search engine selection dialog. | 65 // Boolean. Randomize logos in experimental search engine selection dialog. |
66 extern const wchar_t kSearchEngineExperimentRandomizePref[]; | 66 extern const char kSearchEngineExperimentRandomizePref[]; |
67 // Boolean. Install Chrome to system wise location. Cmd line override present. | 67 // Boolean. Install Chrome to system wise location. Cmd line override present. |
68 extern const wchar_t kSystemLevel[]; | 68 extern const char kSystemLevel[]; |
69 // Boolean. Run installer in verbose mode. Cmd line override present. | 69 // Boolean. Run installer in verbose mode. Cmd line override present. |
70 extern const wchar_t kVerboseLogging[]; | 70 extern const char kVerboseLogging[]; |
71 // Name of the block that contains the extensions on the master preferences. | 71 // Name of the block that contains the extensions on the master preferences. |
72 extern const wchar_t kExtensionsBlock[]; | 72 extern const char kExtensionsBlock[]; |
73 } | 73 } // namespace master_preferences |
74 } | 74 } // namespace installer_util |
75 | 75 |
76 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ | 76 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ |
OLD | NEW |