OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 functions processing master preference file used by | 5 // This file contains functions processing master preference file used by |
6 // setup and first run. | 6 // setup and first run. |
7 | 7 |
8 #ifndef CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ | 8 #ifndef CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ |
9 #define CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ | 9 #define CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ |
10 | 10 |
(...skipping 23 matching lines...) Expand all Loading... |
34 // Boolean pref that triggers silent import of the default browser homepage. | 34 // Boolean pref that triggers silent import of the default browser homepage. |
35 extern const wchar_t kDistroImportHomePagePref[]; | 35 extern const wchar_t kDistroImportHomePagePref[]; |
36 // Boolean pref that triggers silent import of the default search engine. | 36 // Boolean pref that triggers silent import of the default search engine. |
37 extern const wchar_t kDistroImportSearchPref[]; | 37 extern const wchar_t kDistroImportSearchPref[]; |
38 // Integer. RLZ ping delay in seconds. | 38 // Integer. RLZ ping delay in seconds. |
39 extern const wchar_t kDistroPingDelay[]; | 39 extern const wchar_t kDistroPingDelay[]; |
40 // Boolean pref that triggers loading the welcome page. | 40 // Boolean pref that triggers loading the welcome page. |
41 extern const wchar_t kDistroShowWelcomePage[]; | 41 extern const wchar_t kDistroShowWelcomePage[]; |
42 // Boolean pref that triggers skipping the first run dialogs. | 42 // Boolean pref that triggers skipping the first run dialogs. |
43 extern const wchar_t kDistroSkipFirstRunPref[]; | 43 extern const wchar_t kDistroSkipFirstRunPref[]; |
| 44 // Boolean. Do not create Chrome desktop shortcuts. Cmd line override present. |
| 45 extern const wchar_t kDoNotCreateShortcuts[]; |
44 // Boolean. Do not launch Chrome after first install. Cmd line override present. | 46 // Boolean. Do not launch Chrome after first install. Cmd line override present. |
45 extern const wchar_t kDoNotLaunchChrome[]; | 47 extern const wchar_t kDoNotLaunchChrome[]; |
46 // Boolean. Register Chrome as default browser. Cmd line override present. | 48 // Boolean. Register Chrome as default browser. Cmd line override present. |
47 extern const wchar_t kMakeChromeDefault[]; | 49 extern const wchar_t kMakeChromeDefault[]; |
48 // Boolean. Register Chrome as default browser for the current user. | 50 // Boolean. Register Chrome as default browser for the current user. |
49 extern const wchar_t kMakeChromeDefaultForUser[]; | 51 extern const wchar_t kMakeChromeDefaultForUser[]; |
50 // Boolean. Show EULA dialog before install. | 52 // Boolean. Show EULA dialog before install. |
51 extern const wchar_t kRequireEula[]; | 53 extern const wchar_t kRequireEula[]; |
52 // Boolean. Install Chrome to system wise location. Cmd line override present. | 54 // Boolean. Install Chrome to system wise location. Cmd line override present. |
53 extern const wchar_t kSystemLevel[]; | 55 extern const wchar_t kSystemLevel[]; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 std::vector<std::wstring> GetFirstRunTabs(const DictionaryValue* prefs); | 136 std::vector<std::wstring> GetFirstRunTabs(const DictionaryValue* prefs); |
135 | 137 |
136 // Sets the value of given boolean preference |name| in "distribution" | 138 // Sets the value of given boolean preference |name| in "distribution" |
137 // dictionary inside |prefs| dictionary. | 139 // dictionary inside |prefs| dictionary. |
138 bool SetDistroBooleanPreference(DictionaryValue* prefs, | 140 bool SetDistroBooleanPreference(DictionaryValue* prefs, |
139 const std::wstring& name, | 141 const std::wstring& name, |
140 bool value); | 142 bool value); |
141 } | 143 } |
142 | 144 |
143 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ | 145 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ |
OLD | NEW |