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 27 matching lines...) Expand all Loading... |
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. | 44 // Boolean. Do not create Chrome desktop shortcuts. Cmd line override present. |
45 extern const wchar_t kDoNotCreateShortcuts[]; | 45 extern const wchar_t kDoNotCreateShortcuts[]; |
46 // 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. |
47 extern const wchar_t kDoNotLaunchChrome[]; | 47 extern const wchar_t kDoNotLaunchChrome[]; |
| 48 // Boolean. Do not register with Google Update to have Chrome launched after |
| 49 // install. Cmd line override present. |
| 50 extern const wchar_t kDoNotRegisterForUpdateLaunch[]; |
48 // Boolean. Register Chrome as default browser. Cmd line override present. | 51 // Boolean. Register Chrome as default browser. Cmd line override present. |
49 extern const wchar_t kMakeChromeDefault[]; | 52 extern const wchar_t kMakeChromeDefault[]; |
50 // Boolean. Register Chrome as default browser for the current user. | 53 // Boolean. Register Chrome as default browser for the current user. |
51 extern const wchar_t kMakeChromeDefaultForUser[]; | 54 extern const wchar_t kMakeChromeDefaultForUser[]; |
52 // Boolean. Show EULA dialog before install. | 55 // Boolean. Show EULA dialog before install. |
53 extern const wchar_t kRequireEula[]; | 56 extern const wchar_t kRequireEula[]; |
54 // Boolean. Install Chrome to system wise location. Cmd line override present. | 57 // Boolean. Install Chrome to system wise location. Cmd line override present. |
55 extern const wchar_t kSystemLevel[]; | 58 extern const wchar_t kSystemLevel[]; |
56 // Boolean. Run installer in verbose mode. Cmd line override present. | 59 // Boolean. Run installer in verbose mode. Cmd line override present. |
57 extern const wchar_t kVerboseLogging[]; | 60 extern const wchar_t kVerboseLogging[]; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 std::vector<std::wstring> GetFirstRunTabs(const DictionaryValue* prefs); | 139 std::vector<std::wstring> GetFirstRunTabs(const DictionaryValue* prefs); |
137 | 140 |
138 // Sets the value of given boolean preference |name| in "distribution" | 141 // Sets the value of given boolean preference |name| in "distribution" |
139 // dictionary inside |prefs| dictionary. | 142 // dictionary inside |prefs| dictionary. |
140 bool SetDistroBooleanPreference(DictionaryValue* prefs, | 143 bool SetDistroBooleanPreference(DictionaryValue* prefs, |
141 const std::wstring& name, | 144 const std::wstring& name, |
142 bool value); | 145 bool value); |
143 } | 146 } |
144 | 147 |
145 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ | 148 #endif // CHROME_INSTALLER_UTIL_MASTER_PREFERENCES_H_ |
OLD | NEW |