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. This is a legacy preference and should no longer be used; it is | |
19 // kept around so that old master_preferences which specify | |
20 // "create_all_shortcuts":false still enforce the new | |
21 // "do_not_create_(desktop|quick_launch)_shortcut" preferences. Setting this to | |
22 // true no longer has any impact. | |
23 extern const char kCreateAllShortcuts[]; | |
24 // Boolean pref that disables all logging. | 18 // Boolean pref that disables all logging. |
25 extern const char kDisableLogging[]; | 19 extern const char kDisableLogging[]; |
26 // Name of the dictionary that holds the distribution values. | 20 // Name of the dictionary that holds the distribution values. |
27 extern const char kDistroDict[]; | 21 extern const char kDistroDict[]; |
28 // Boolean pref that triggers silent import of the default browser bookmarks. | 22 // Boolean pref that triggers silent import of the default browser bookmarks. |
29 extern const char kDistroImportBookmarksPref[]; | 23 extern const char kDistroImportBookmarksPref[]; |
30 // String pref that triggers silent import of bookmarks from the html file at | 24 // String pref that triggers silent import of bookmarks from the html file at |
31 // given path. | 25 // given path. |
32 extern const char kDistroImportBookmarksFromFilePref[]; | 26 extern const char kDistroImportBookmarksFromFilePref[]; |
33 // Boolean pref that triggers silent import of the default browser history. | 27 // Boolean pref that triggers silent import of the default browser history. |
34 extern const char kDistroImportHistoryPref[]; | 28 extern const char kDistroImportHistoryPref[]; |
35 // Boolean pref that triggers silent import of the default browser homepage. | 29 // Boolean pref that triggers silent import of the default browser homepage. |
36 extern const char kDistroImportHomePagePref[]; | 30 extern const char kDistroImportHomePagePref[]; |
37 // Boolean pref that triggers silent import of the default search engine. | 31 // Boolean pref that triggers silent import of the default search engine. |
38 extern const char kDistroImportSearchPref[]; | 32 extern const char kDistroImportSearchPref[]; |
39 // Integer. RLZ ping delay in seconds. | |
40 extern const char kDistroPingDelay[]; | |
41 // String of Chrome version for which the "set as default browser" infobar will | 33 // String of Chrome version for which the "set as default browser" infobar will |
42 // never be shown. | 34 // never be shown. |
43 extern const char kDistroSuppressDefaultBrowserPromptPref[]; | 35 extern const char kDistroSuppressDefaultBrowserPromptPref[]; |
44 // Boolean. Do not show first run bubble, even if it would otherwise be shown. | 36 // Boolean. Do not show first run bubble, even if it would otherwise be shown. |
45 extern const char kDistroSuppressFirstRunBubble[]; | 37 extern const char kDistroSuppressFirstRunBubble[]; |
46 // Boolean that specifies whether or not showing the welcome page following an | 38 // Boolean that specifies whether or not showing the welcome page following an |
47 // OS upgrade is enabled. True by default. May be overridden by the | 39 // OS upgrade is enabled. True by default. May be overridden by the |
48 // WelcomePageOnOSUpgradeEnabled policy setting. | 40 // WelcomePageOnOSUpgradeEnabled policy setting. |
49 extern const char kDistroWelcomePageOnOSUpgradeEnabled[]; | 41 extern const char kDistroWelcomePageOnOSUpgradeEnabled[]; |
50 // Boolean. Prevent creation of all shortcuts to chrome, including the | 42 // Boolean. Prevent creation of all shortcuts to chrome, including the |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 extern const char kVerboseLogging[]; | 80 extern const char kVerboseLogging[]; |
89 // Name of the block that contains the extensions on the master preferences. | 81 // Name of the block that contains the extensions on the master preferences. |
90 extern const char kExtensionsBlock[]; | 82 extern const char kExtensionsBlock[]; |
91 // Boolean. Allow Chrome to be downgraded to a previous version if true. | 83 // Boolean. Allow Chrome to be downgraded to a previous version if true. |
92 extern const char kAllowDowngrade[]; | 84 extern const char kAllowDowngrade[]; |
93 | 85 |
94 } // namespace master_preferences | 86 } // namespace master_preferences |
95 } // namespace installer | 87 } // namespace installer |
96 | 88 |
97 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ | 89 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ |
OLD | NEW |