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 #include "chrome/browser/prefs/browser_prefs.h" | 5 #include "chrome/browser/prefs/browser_prefs.h" |
6 | 6 |
7 #include "chrome/browser/about_flags.h" | 7 #include "chrome/browser/about_flags.h" |
8 #include "chrome/browser/autofill/autofill_manager.h" | 8 #include "chrome/browser/autofill/autofill_manager.h" |
9 #include "chrome/browser/background/background_mode_manager.h" | 9 #include "chrome/browser/background/background_mode_manager.h" |
10 #include "chrome/browser/bookmarks/bookmark_model.h" | 10 #include "chrome/browser/bookmarks/bookmark_model.h" |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 NetPrefObserver::RegisterPrefs(user_prefs); | 191 NetPrefObserver::RegisterPrefs(user_prefs); |
192 NewTabUI::RegisterUserPrefs(user_prefs); | 192 NewTabUI::RegisterUserPrefs(user_prefs); |
193 PasswordManager::RegisterUserPrefs(user_prefs); | 193 PasswordManager::RegisterUserPrefs(user_prefs); |
194 PrefProxyConfigTrackerImpl::RegisterPrefs(user_prefs); | 194 PrefProxyConfigTrackerImpl::RegisterPrefs(user_prefs); |
195 PrefsTabHelper::RegisterUserPrefs(user_prefs); | 195 PrefsTabHelper::RegisterUserPrefs(user_prefs); |
196 ProfileImpl::RegisterUserPrefs(user_prefs); | 196 ProfileImpl::RegisterUserPrefs(user_prefs); |
197 ProtocolHandlerRegistry::RegisterPrefs(user_prefs); | 197 ProtocolHandlerRegistry::RegisterPrefs(user_prefs); |
198 SessionStartupPref::RegisterUserPrefs(user_prefs); | 198 SessionStartupPref::RegisterUserPrefs(user_prefs); |
199 TemplateURLPrepopulateData::RegisterUserPrefs(user_prefs); | 199 TemplateURLPrepopulateData::RegisterUserPrefs(user_prefs); |
200 TranslatePrefs::RegisterUserPrefs(user_prefs); | 200 TranslatePrefs::RegisterUserPrefs(user_prefs); |
| 201 web_intents::RegisterUserPrefs(user_prefs); |
201 | 202 |
202 #if defined(ENABLE_CONFIGURATION_POLICY) | 203 #if defined(ENABLE_CONFIGURATION_POLICY) |
203 policy::URLBlacklistManager::RegisterPrefs(user_prefs); | 204 policy::URLBlacklistManager::RegisterPrefs(user_prefs); |
204 #endif | 205 #endif |
205 | 206 |
206 #if defined(ENABLE_WEB_INTENTS) | |
207 web_intents::RegisterUserPrefs(user_prefs); | |
208 #endif | |
209 | |
210 #if defined(TOOLKIT_VIEWS) | 207 #if defined(TOOLKIT_VIEWS) |
211 InvertBubble::RegisterUserPrefs(user_prefs); | 208 InvertBubble::RegisterUserPrefs(user_prefs); |
212 #elif defined(TOOLKIT_GTK) | 209 #elif defined(TOOLKIT_GTK) |
213 BrowserWindowGtk::RegisterUserPrefs(user_prefs); | 210 BrowserWindowGtk::RegisterUserPrefs(user_prefs); |
214 #endif | 211 #endif |
215 | 212 |
216 #if defined(USE_ASH) | 213 #if defined(USE_ASH) |
217 ChromeLauncherController::RegisterUserPrefs(user_prefs); | 214 ChromeLauncherController::RegisterUserPrefs(user_prefs); |
218 #endif | 215 #endif |
219 | 216 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 } | 304 } |
308 local_state->ClearPref(prefs::kLastPromptedGoogleURL); | 305 local_state->ClearPref(prefs::kLastPromptedGoogleURL); |
309 | 306 |
310 current_version |= GOOGLE_URL_TRACKER_PREFS; | 307 current_version |= GOOGLE_URL_TRACKER_PREFS; |
311 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, | 308 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, |
312 current_version); | 309 current_version); |
313 } | 310 } |
314 } | 311 } |
315 | 312 |
316 } // namespace browser | 313 } // namespace browser |
OLD | NEW |