| 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 "base/debug/trace_event.h" | 7 #include "base/debug/trace_event.h" |
| 8 #include "base/prefs/pref_registry_simple.h" | 8 #include "base/prefs/pref_registry_simple.h" |
| 9 #include "base/prefs/pref_service.h" | 9 #include "base/prefs/pref_service.h" |
| 10 #include "chrome/browser/about_flags.h" | 10 #include "chrome/browser/about_flags.h" |
| 11 #include "chrome/browser/accessibility/invert_bubble_prefs.h" | 11 #include "chrome/browser/accessibility/invert_bubble_prefs.h" |
| 12 #include "chrome/browser/apps/drive/drive_app_mapping.h" |
| 12 #include "chrome/browser/apps/shortcut_manager.h" | 13 #include "chrome/browser/apps/shortcut_manager.h" |
| 13 #include "chrome/browser/autocomplete/zero_suggest_provider.h" | 14 #include "chrome/browser/autocomplete/zero_suggest_provider.h" |
| 14 #include "chrome/browser/background/background_mode_manager.h" | 15 #include "chrome/browser/background/background_mode_manager.h" |
| 15 #include "chrome/browser/browser_process_impl.h" | 16 #include "chrome/browser/browser_process_impl.h" |
| 16 #include "chrome/browser/browser_shutdown.h" | 17 #include "chrome/browser/browser_shutdown.h" |
| 17 #include "chrome/browser/chrome_content_browser_client.h" | 18 #include "chrome/browser/chrome_content_browser_client.h" |
| 18 #include "chrome/browser/component_updater/recovery_component_installer.h" | 19 #include "chrome/browser/component_updater/recovery_component_installer.h" |
| 19 #include "chrome/browser/content_settings/host_content_settings_map.h" | 20 #include "chrome/browser/content_settings/host_content_settings_map.h" |
| 20 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 21 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
| 21 #include "chrome/browser/devtools/devtools_window.h" | 22 #include "chrome/browser/devtools/devtools_window.h" |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 | 413 |
| 413 #if defined(OS_ANDROID) | 414 #if defined(OS_ANDROID) |
| 414 chrome_variations::VariationsService::RegisterProfilePrefs(registry); | 415 chrome_variations::VariationsService::RegisterProfilePrefs(registry); |
| 415 NewTabPagePrefs::RegisterProfilePrefs(registry); | 416 NewTabPagePrefs::RegisterProfilePrefs(registry); |
| 416 PartnerBookmarksShim::RegisterProfilePrefs(registry); | 417 PartnerBookmarksShim::RegisterProfilePrefs(registry); |
| 417 #else | 418 #else |
| 418 AppShortcutManager::RegisterProfilePrefs(registry); | 419 AppShortcutManager::RegisterProfilePrefs(registry); |
| 419 autofill::GeneratedCreditCardBubbleController::RegisterUserPrefs(registry); | 420 autofill::GeneratedCreditCardBubbleController::RegisterUserPrefs(registry); |
| 420 DeviceIDFetcher::RegisterProfilePrefs(registry); | 421 DeviceIDFetcher::RegisterProfilePrefs(registry); |
| 421 DevToolsWindow::RegisterProfilePrefs(registry); | 422 DevToolsWindow::RegisterProfilePrefs(registry); |
| 423 DriveAppMapping::RegisterProfilePrefs(registry); |
| 422 extensions::CommandService::RegisterProfilePrefs(registry); | 424 extensions::CommandService::RegisterProfilePrefs(registry); |
| 423 extensions::ExtensionSettingsHandler::RegisterProfilePrefs(registry); | 425 extensions::ExtensionSettingsHandler::RegisterProfilePrefs(registry); |
| 424 extensions::TabsCaptureVisibleTabFunction::RegisterProfilePrefs(registry); | 426 extensions::TabsCaptureVisibleTabFunction::RegisterProfilePrefs(registry); |
| 425 first_run::RegisterProfilePrefs(registry); | 427 first_run::RegisterProfilePrefs(registry); |
| 426 NewTabUI::RegisterProfilePrefs(registry); | 428 NewTabUI::RegisterProfilePrefs(registry); |
| 427 notifier::ChromeNotifierService::RegisterProfilePrefs(registry); | 429 notifier::ChromeNotifierService::RegisterProfilePrefs(registry); |
| 428 PepperFlashSettingsManager::RegisterProfilePrefs(registry); | 430 PepperFlashSettingsManager::RegisterProfilePrefs(registry); |
| 429 PinnedTabCodec::RegisterProfilePrefs(registry); | 431 PinnedTabCodec::RegisterProfilePrefs(registry); |
| 430 PluginsUI::RegisterProfilePrefs(registry); | 432 PluginsUI::RegisterProfilePrefs(registry); |
| 431 RegisterAutolaunchUserPrefs(registry); | 433 RegisterAutolaunchUserPrefs(registry); |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 590 #if defined(OS_CHROMEOS) | 592 #if defined(OS_CHROMEOS) |
| 591 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); | 593 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); |
| 592 #endif | 594 #endif |
| 593 | 595 |
| 594 #if defined(TOOLKIT_VIEWS) | 596 #if defined(TOOLKIT_VIEWS) |
| 595 MigrateBrowserTabStripPrefs(local_state); | 597 MigrateBrowserTabStripPrefs(local_state); |
| 596 #endif | 598 #endif |
| 597 } | 599 } |
| 598 | 600 |
| 599 } // namespace chrome | 601 } // namespace chrome |
| OLD | NEW |