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/reader_mode_preferences.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/sync_driver/sync_prefs.h" | 95 #include "components/sync_driver/sync_prefs.h" |
95 #include "components/translate/core/browser/translate_prefs.h" | 96 #include "components/translate/core/browser/translate_prefs.h" |
96 #include "content/public/browser/render_process_host.h" | 97 #include "content/public/browser/render_process_host.h" |
97 #include "extensions/browser/extension_prefs.h" | 98 #include "extensions/browser/extension_prefs.h" |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 // User prefs. Please keep this list alphabetized. | 348 // User prefs. Please keep this list alphabetized. |
348 autofill::AutofillManager::RegisterProfilePrefs(registry); | 349 autofill::AutofillManager::RegisterProfilePrefs(registry); |
349 bookmark_utils::RegisterProfilePrefs(registry); | 350 bookmark_utils::RegisterProfilePrefs(registry); |
350 sync_driver::SyncPrefs::RegisterProfilePrefs(registry); | 351 sync_driver::SyncPrefs::RegisterProfilePrefs(registry); |
351 ChromeContentBrowserClient::RegisterProfilePrefs(registry); | 352 ChromeContentBrowserClient::RegisterProfilePrefs(registry); |
352 ChromeVersionService::RegisterProfilePrefs(registry); | 353 ChromeVersionService::RegisterProfilePrefs(registry); |
353 chrome_browser_net::HttpServerPropertiesManager::RegisterProfilePrefs( | 354 chrome_browser_net::HttpServerPropertiesManager::RegisterProfilePrefs( |
354 registry); | 355 registry); |
355 chrome_browser_net::Predictor::RegisterProfilePrefs(registry); | 356 chrome_browser_net::Predictor::RegisterProfilePrefs(registry); |
356 chrome_prefs::RegisterProfilePrefs(registry); | 357 chrome_prefs::RegisterProfilePrefs(registry); |
| 358 dom_distiller::ReaderModePrefs::RegisterProfilePrefs(registry); |
357 DownloadPrefs::RegisterProfilePrefs(registry); | 359 DownloadPrefs::RegisterProfilePrefs(registry); |
358 easy_unlock::RegisterProfilePrefs(registry); | 360 easy_unlock::RegisterProfilePrefs(registry); |
359 gcm::GCMProfileService::RegisterProfilePrefs(registry); | 361 gcm::GCMProfileService::RegisterProfilePrefs(registry); |
360 HostContentSettingsMap::RegisterProfilePrefs(registry); | 362 HostContentSettingsMap::RegisterProfilePrefs(registry); |
361 IncognitoModePrefs::RegisterProfilePrefs(registry); | 363 IncognitoModePrefs::RegisterProfilePrefs(registry); |
362 InstantUI::RegisterProfilePrefs(registry); | 364 InstantUI::RegisterProfilePrefs(registry); |
363 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); | 365 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); |
364 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); | 366 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); |
365 MediaDeviceIDSalt::RegisterProfilePrefs(registry); | 367 MediaDeviceIDSalt::RegisterProfilePrefs(registry); |
366 MediaStreamDevicesController::RegisterProfilePrefs(registry); | 368 MediaStreamDevicesController::RegisterProfilePrefs(registry); |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
596 #if defined(OS_CHROMEOS) | 598 #if defined(OS_CHROMEOS) |
597 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); | 599 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); |
598 #endif | 600 #endif |
599 | 601 |
600 #if defined(TOOLKIT_VIEWS) | 602 #if defined(TOOLKIT_VIEWS) |
601 MigrateBrowserTabStripPrefs(local_state); | 603 MigrateBrowserTabStripPrefs(local_state); |
602 #endif | 604 #endif |
603 } | 605 } |
604 | 606 |
605 } // namespace chrome | 607 } // namespace chrome |
OLD | NEW |