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 <string> | 7 #include <string> |
8 | 8 |
9 #include "base/debug/trace_event.h" | 9 #include "base/debug/trace_event.h" |
10 #include "base/prefs/pref_registry_simple.h" | 10 #include "base/prefs/pref_registry_simple.h" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 #include "chrome/browser/ui/webui/flags_ui.h" | 78 #include "chrome/browser/ui/webui/flags_ui.h" |
79 #include "chrome/browser/ui/webui/instant_ui.h" | 79 #include "chrome/browser/ui/webui/instant_ui.h" |
80 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" | 80 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" |
81 #include "chrome/browser/ui/webui/plugins_ui.h" | 81 #include "chrome/browser/ui/webui/plugins_ui.h" |
82 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" | 82 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" |
83 #include "chrome/browser/upgrade_detector.h" | 83 #include "chrome/browser/upgrade_detector.h" |
84 #include "chrome/browser/web_resource/promo_resource_service.h" | 84 #include "chrome/browser/web_resource/promo_resource_service.h" |
85 #include "chrome/common/pref_names.h" | 85 #include "chrome/common/pref_names.h" |
86 #include "components/autofill/core/browser/autofill_manager.h" | 86 #include "components/autofill/core/browser/autofill_manager.h" |
87 #include "components/bookmarks/browser/bookmark_utils.h" | 87 #include "components/bookmarks/browser/bookmark_utils.h" |
| 88 #include "components/dom_distiller/core/distilled_page_prefs.h" |
88 #include "components/google/core/browser/google_pref_names.h" | 89 #include "components/google/core/browser/google_pref_names.h" |
89 #include "components/google/core/browser/google_url_tracker.h" | 90 #include "components/google/core/browser/google_url_tracker.h" |
90 #include "components/network_time/network_time_tracker.h" | 91 #include "components/network_time/network_time_tracker.h" |
91 #include "components/password_manager/core/browser/password_manager.h" | 92 #include "components/password_manager/core/browser/password_manager.h" |
92 #include "components/pref_registry/pref_registry_syncable.h" | 93 #include "components/pref_registry/pref_registry_syncable.h" |
93 #include "components/rappor/rappor_service.h" | 94 #include "components/rappor/rappor_service.h" |
94 #include "components/search_engines/template_url_prepopulate_data.h" | 95 #include "components/search_engines/template_url_prepopulate_data.h" |
95 #include "components/sync_driver/sync_prefs.h" | 96 #include "components/sync_driver/sync_prefs.h" |
96 #include "components/translate/core/browser/translate_prefs.h" | 97 #include "components/translate/core/browser/translate_prefs.h" |
97 #include "content/public/browser/render_process_host.h" | 98 #include "content/public/browser/render_process_host.h" |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 autofill::AutofillManager::RegisterProfilePrefs(registry); | 352 autofill::AutofillManager::RegisterProfilePrefs(registry); |
352 bookmark_utils::RegisterProfilePrefs(registry); | 353 bookmark_utils::RegisterProfilePrefs(registry); |
353 sync_driver::SyncPrefs::RegisterProfilePrefs(registry); | 354 sync_driver::SyncPrefs::RegisterProfilePrefs(registry); |
354 ChromeContentBrowserClient::RegisterProfilePrefs(registry); | 355 ChromeContentBrowserClient::RegisterProfilePrefs(registry); |
355 ChromeVersionService::RegisterProfilePrefs(registry); | 356 ChromeVersionService::RegisterProfilePrefs(registry); |
356 chrome_browser_net::HttpServerPropertiesManager::RegisterProfilePrefs( | 357 chrome_browser_net::HttpServerPropertiesManager::RegisterProfilePrefs( |
357 registry); | 358 registry); |
358 chrome_browser_net::Predictor::RegisterProfilePrefs(registry); | 359 chrome_browser_net::Predictor::RegisterProfilePrefs(registry); |
359 chrome_browser_net::RegisterPredictionOptionsProfilePrefs(registry); | 360 chrome_browser_net::RegisterPredictionOptionsProfilePrefs(registry); |
360 chrome_prefs::RegisterProfilePrefs(registry); | 361 chrome_prefs::RegisterProfilePrefs(registry); |
| 362 dom_distiller::DistilledPagePrefs::RegisterProfilePrefs(registry); |
361 DownloadPrefs::RegisterProfilePrefs(registry); | 363 DownloadPrefs::RegisterProfilePrefs(registry); |
362 easy_unlock::RegisterProfilePrefs(registry); | 364 easy_unlock::RegisterProfilePrefs(registry); |
363 gcm::GCMProfileService::RegisterProfilePrefs(registry); | 365 gcm::GCMProfileService::RegisterProfilePrefs(registry); |
364 HostContentSettingsMap::RegisterProfilePrefs(registry); | 366 HostContentSettingsMap::RegisterProfilePrefs(registry); |
365 IncognitoModePrefs::RegisterProfilePrefs(registry); | 367 IncognitoModePrefs::RegisterProfilePrefs(registry); |
366 InstantUI::RegisterProfilePrefs(registry); | 368 InstantUI::RegisterProfilePrefs(registry); |
367 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); | 369 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); |
368 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); | 370 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); |
369 MediaDeviceIDSalt::RegisterProfilePrefs(registry); | 371 MediaDeviceIDSalt::RegisterProfilePrefs(registry); |
370 MediaStreamDevicesController::RegisterProfilePrefs(registry); | 372 MediaStreamDevicesController::RegisterProfilePrefs(registry); |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 #if defined(OS_CHROMEOS) | 597 #if defined(OS_CHROMEOS) |
596 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); | 598 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); |
597 #endif | 599 #endif |
598 | 600 |
599 #if defined(TOOLKIT_VIEWS) | 601 #if defined(TOOLKIT_VIEWS) |
600 MigrateBrowserTabStripPrefs(local_state); | 602 MigrateBrowserTabStripPrefs(local_state); |
601 #endif | 603 #endif |
602 } | 604 } |
603 | 605 |
604 } // namespace chrome | 606 } // namespace chrome |
OLD | NEW |