| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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/accessibility/invert_bubble_prefs.h" | 8 #include "chrome/browser/accessibility/invert_bubble_prefs.h" |
| 9 #include "chrome/browser/autofill/autofill_manager.h" | 9 #include "chrome/browser/autofill/autofill_manager.h" |
| 10 #include "chrome/browser/background/background_mode_manager.h" | 10 #include "chrome/browser/background/background_mode_manager.h" |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 web_intents::RegisterUserPrefs(user_prefs); | 262 web_intents::RegisterUserPrefs(user_prefs); |
| 263 #endif | 263 #endif |
| 264 | 264 |
| 265 #if defined(TOOLKIT_VIEWS) | 265 #if defined(TOOLKIT_VIEWS) |
| 266 RegisterInvertBubbleUserPrefs(user_prefs); | 266 RegisterInvertBubbleUserPrefs(user_prefs); |
| 267 #elif defined(TOOLKIT_GTK) | 267 #elif defined(TOOLKIT_GTK) |
| 268 BrowserWindowGtk::RegisterUserPrefs(user_prefs); | 268 BrowserWindowGtk::RegisterUserPrefs(user_prefs); |
| 269 #endif | 269 #endif |
| 270 | 270 |
| 271 #if defined(OS_ANDROID) | 271 #if defined(OS_ANDROID) |
| 272 geolocation::RegisterUserPrefs(user_prefs); | |
| 273 PromoHandler::RegisterUserPrefs(user_prefs); | 272 PromoHandler::RegisterUserPrefs(user_prefs); |
| 274 #endif | 273 #endif |
| 275 | 274 |
| 276 #if defined(USE_ASH) | 275 #if defined(USE_ASH) |
| 277 ash::RegisterChromeLauncherUserPrefs(user_prefs); | 276 ash::RegisterChromeLauncherUserPrefs(user_prefs); |
| 278 #endif | 277 #endif |
| 279 | 278 |
| 280 #if !defined(OS_ANDROID) | 279 #if !defined(OS_ANDROID) |
| 281 CaptureVisibleTabFunction::RegisterUserPrefs(user_prefs); | 280 CaptureVisibleTabFunction::RegisterUserPrefs(user_prefs); |
| 282 ChromeToMobileService::RegisterUserPrefs(user_prefs); | 281 ChromeToMobileService::RegisterUserPrefs(user_prefs); |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 } | 377 } |
| 379 local_state->ClearPref(prefs::kLastPromptedGoogleURL); | 378 local_state->ClearPref(prefs::kLastPromptedGoogleURL); |
| 380 | 379 |
| 381 current_version |= GOOGLE_URL_TRACKER_PREFS; | 380 current_version |= GOOGLE_URL_TRACKER_PREFS; |
| 382 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, | 381 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, |
| 383 current_version); | 382 current_version); |
| 384 } | 383 } |
| 385 } | 384 } |
| 386 | 385 |
| 387 } // namespace chrome | 386 } // namespace chrome |
| OLD | NEW |