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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 #include "chrome/browser/prefs/incognito_mode_prefs.h" | 50 #include "chrome/browser/prefs/incognito_mode_prefs.h" |
51 #include "chrome/browser/prefs/pref_service_syncable.h" | 51 #include "chrome/browser/prefs/pref_service_syncable.h" |
52 #include "chrome/browser/prefs/session_startup_pref.h" | 52 #include "chrome/browser/prefs/session_startup_pref.h" |
53 #include "chrome/browser/printing/print_dialog_cloud.h" | 53 #include "chrome/browser/printing/print_dialog_cloud.h" |
54 #include "chrome/browser/profiles/chrome_version_service.h" | 54 #include "chrome/browser/profiles/chrome_version_service.h" |
55 #include "chrome/browser/profiles/profile.h" | 55 #include "chrome/browser/profiles/profile.h" |
56 #include "chrome/browser/profiles/profile_impl.h" | 56 #include "chrome/browser/profiles/profile_impl.h" |
57 #include "chrome/browser/profiles/profile_info_cache.h" | 57 #include "chrome/browser/profiles/profile_info_cache.h" |
58 #include "chrome/browser/profiles/profiles_state.h" | 58 #include "chrome/browser/profiles/profiles_state.h" |
59 #include "chrome/browser/renderer_host/pepper/device_id_fetcher.h" | 59 #include "chrome/browser/renderer_host/pepper/device_id_fetcher.h" |
60 #include "chrome/browser/renderer_host/web_cache_manager.h" | |
61 #include "chrome/browser/search/search.h" | 60 #include "chrome/browser/search/search.h" |
62 #include "chrome/browser/services/gcm/gcm_profile_service.h" | 61 #include "chrome/browser/services/gcm/gcm_profile_service.h" |
63 #include "chrome/browser/signin/signin_manager_factory.h" | 62 #include "chrome/browser/signin/signin_manager_factory.h" |
64 #include "chrome/browser/signin/signin_promo.h" | 63 #include "chrome/browser/signin/signin_promo.h" |
65 #include "chrome/browser/task_manager/task_manager.h" | 64 #include "chrome/browser/task_manager/task_manager.h" |
66 #include "chrome/browser/ui/app_list/app_list_service.h" | 65 #include "chrome/browser/ui/app_list/app_list_service.h" |
67 #include "chrome/browser/ui/browser_ui_prefs.h" | 66 #include "chrome/browser/ui/browser_ui_prefs.h" |
68 #include "chrome/browser/ui/navigation_correction_tab_observer.h" | 67 #include "chrome/browser/ui/navigation_correction_tab_observer.h" |
69 #include "chrome/browser/ui/network_profile_bubble.h" | 68 #include "chrome/browser/ui/network_profile_bubble.h" |
70 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" | 69 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" |
(...skipping 15 matching lines...) Expand all Loading... |
86 #include "components/dom_distiller/core/distilled_page_prefs.h" | 85 #include "components/dom_distiller/core/distilled_page_prefs.h" |
87 #include "components/google/core/browser/google_pref_names.h" | 86 #include "components/google/core/browser/google_pref_names.h" |
88 #include "components/google/core/browser/google_url_tracker.h" | 87 #include "components/google/core/browser/google_url_tracker.h" |
89 #include "components/network_time/network_time_tracker.h" | 88 #include "components/network_time/network_time_tracker.h" |
90 #include "components/password_manager/core/browser/password_manager.h" | 89 #include "components/password_manager/core/browser/password_manager.h" |
91 #include "components/pref_registry/pref_registry_syncable.h" | 90 #include "components/pref_registry/pref_registry_syncable.h" |
92 #include "components/rappor/rappor_service.h" | 91 #include "components/rappor/rappor_service.h" |
93 #include "components/search_engines/template_url_prepopulate_data.h" | 92 #include "components/search_engines/template_url_prepopulate_data.h" |
94 #include "components/sync_driver/sync_prefs.h" | 93 #include "components/sync_driver/sync_prefs.h" |
95 #include "components/translate/core/browser/translate_prefs.h" | 94 #include "components/translate/core/browser/translate_prefs.h" |
| 95 #include "components/web_cache/browser/web_cache_manager.h" |
96 #include "content/public/browser/render_process_host.h" | 96 #include "content/public/browser/render_process_host.h" |
97 #include "net/http/http_server_properties_manager.h" | 97 #include "net/http/http_server_properties_manager.h" |
98 | 98 |
99 #if defined(ENABLE_AUTOFILL_DIALOG) | 99 #if defined(ENABLE_AUTOFILL_DIALOG) |
100 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" | 100 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" |
101 #endif | 101 #endif |
102 | 102 |
103 #if defined(ENABLE_CONFIGURATION_POLICY) | 103 #if defined(ENABLE_CONFIGURATION_POLICY) |
104 #include "components/policy/core/browser/browser_policy_connector.h" | 104 #include "components/policy/core/browser/browser_policy_connector.h" |
105 #include "components/policy/core/browser/url_blacklist_manager.h" | 105 #include "components/policy/core/browser/url_blacklist_manager.h" |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 network_time::NetworkTimeTracker::RegisterPrefs(registry); | 254 network_time::NetworkTimeTracker::RegisterPrefs(registry); |
255 PrefProxyConfigTrackerImpl::RegisterPrefs(registry); | 255 PrefProxyConfigTrackerImpl::RegisterPrefs(registry); |
256 ProfileInfoCache::RegisterPrefs(registry); | 256 ProfileInfoCache::RegisterPrefs(registry); |
257 profiles::RegisterPrefs(registry); | 257 profiles::RegisterPrefs(registry); |
258 PromoResourceService::RegisterPrefs(registry); | 258 PromoResourceService::RegisterPrefs(registry); |
259 rappor::RapporService::RegisterPrefs(registry); | 259 rappor::RapporService::RegisterPrefs(registry); |
260 RegisterScreenshotPrefs(registry); | 260 RegisterScreenshotPrefs(registry); |
261 SigninManagerFactory::RegisterPrefs(registry); | 261 SigninManagerFactory::RegisterPrefs(registry); |
262 SSLConfigServiceManager::RegisterPrefs(registry); | 262 SSLConfigServiceManager::RegisterPrefs(registry); |
263 UpgradeDetector::RegisterPrefs(registry); | 263 UpgradeDetector::RegisterPrefs(registry); |
264 WebCacheManager::RegisterPrefs(registry); | 264 web_cache::WebCacheManager::RegisterPrefs(registry); |
265 | 265 |
266 #if defined(ENABLE_AUTOFILL_DIALOG) | 266 #if defined(ENABLE_AUTOFILL_DIALOG) |
267 autofill::AutofillDialogController::RegisterPrefs(registry); | 267 autofill::AutofillDialogController::RegisterPrefs(registry); |
268 #endif | 268 #endif |
269 | 269 |
270 #if defined(ENABLE_CONFIGURATION_POLICY) | 270 #if defined(ENABLE_CONFIGURATION_POLICY) |
271 policy::BrowserPolicyConnector::RegisterPrefs(registry); | 271 policy::BrowserPolicyConnector::RegisterPrefs(registry); |
272 policy::PolicyStatisticsCollector::RegisterPrefs(registry); | 272 policy::PolicyStatisticsCollector::RegisterPrefs(registry); |
273 #endif | 273 #endif |
274 | 274 |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 #if defined(OS_CHROMEOS) | 609 #if defined(OS_CHROMEOS) |
610 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); | 610 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); |
611 #endif | 611 #endif |
612 | 612 |
613 #if defined(TOOLKIT_VIEWS) | 613 #if defined(TOOLKIT_VIEWS) |
614 MigrateBrowserTabStripPrefs(local_state); | 614 MigrateBrowserTabStripPrefs(local_state); |
615 #endif | 615 #endif |
616 } | 616 } |
617 | 617 |
618 } // namespace chrome | 618 } // namespace chrome |
OLD | NEW |