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 pref that disables all logging. | 18 // Boolean pref that disables all logging. |
19 extern const char kDisableLogging[]; | 19 extern const char kDisableLogging[]; |
20 // Name of the dictionary that holds the distribution values. | 20 // Name of the dictionary that holds the distribution values. |
21 extern const char kDistroDict[]; | 21 extern const char kDistroDict[]; |
22 // Boolean pref that triggers silent import of the default browser bookmarks. | |
23 extern const char kDistroImportBookmarksPref[]; | |
24 // String pref that triggers silent import of bookmarks from the html file at | 22 // String pref that triggers silent import of bookmarks from the html file at |
25 // given path. | 23 // given path. |
26 extern const char kDistroImportBookmarksFromFilePref[]; | 24 extern const char kDistroImportBookmarksFromFilePref[]; |
27 // Boolean pref that triggers silent import of the default browser history. | |
28 extern const char kDistroImportHistoryPref[]; | |
29 // Boolean pref that triggers silent import of the default browser homepage. | |
30 extern const char kDistroImportHomePagePref[]; | |
31 // Boolean pref that triggers silent import of the default search engine. | |
32 extern const char kDistroImportSearchPref[]; | |
33 // String of Chrome version for which the "set as default browser" infobar will | 25 // String of Chrome version for which the "set as default browser" infobar will |
34 // never be shown. | 26 // never be shown. |
35 extern const char kDistroSuppressDefaultBrowserPromptPref[]; | 27 extern const char kDistroSuppressDefaultBrowserPromptPref[]; |
36 // Boolean. Do not show first run bubble, even if it would otherwise be shown. | 28 // Boolean. Do not show first run bubble, even if it would otherwise be shown. |
37 extern const char kDistroSuppressFirstRunBubble[]; | 29 extern const char kDistroSuppressFirstRunBubble[]; |
38 // Boolean that specifies whether or not showing the welcome page following an | 30 // Boolean that specifies whether or not showing the welcome page following an |
39 // OS upgrade is enabled. True by default. May be overridden by the | 31 // OS upgrade is enabled. True by default. May be overridden by the |
40 // WelcomePageOnOSUpgradeEnabled policy setting. | 32 // WelcomePageOnOSUpgradeEnabled policy setting. |
41 extern const char kDistroWelcomePageOnOSUpgradeEnabled[]; | 33 extern const char kDistroWelcomePageOnOSUpgradeEnabled[]; |
42 // Boolean. Prevent creation of all shortcuts to chrome, including the | 34 // Boolean. Prevent creation of all shortcuts to chrome, including the |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 extern const char kVerboseLogging[]; | 72 extern const char kVerboseLogging[]; |
81 // Name of the block that contains the extensions on the master preferences. | 73 // Name of the block that contains the extensions on the master preferences. |
82 extern const char kExtensionsBlock[]; | 74 extern const char kExtensionsBlock[]; |
83 // Boolean. Allow Chrome to be downgraded to a previous version if true. | 75 // Boolean. Allow Chrome to be downgraded to a previous version if true. |
84 extern const char kAllowDowngrade[]; | 76 extern const char kAllowDowngrade[]; |
85 | 77 |
86 } // namespace master_preferences | 78 } // namespace master_preferences |
87 } // namespace installer | 79 } // namespace installer |
88 | 80 |
89 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ | 81 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_CONSTANTS_H_ |
OLD | NEW |