| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/profiles/profile_impl.h" | 5 #include "chrome/browser/profiles/profile_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 #include "components/policy/core/browser/browser_policy_connector.h" | 95 #include "components/policy/core/browser/browser_policy_connector.h" |
| 96 #include "components/pref_registry/pref_registry_syncable.h" | 96 #include "components/pref_registry/pref_registry_syncable.h" |
| 97 #include "components/prefs/json_pref_store.h" | 97 #include "components/prefs/json_pref_store.h" |
| 98 #include "components/prefs/scoped_user_pref_update.h" | 98 #include "components/prefs/scoped_user_pref_update.h" |
| 99 #include "components/proxy_config/pref_proxy_config_tracker.h" | 99 #include "components/proxy_config/pref_proxy_config_tracker.h" |
| 100 #include "components/signin/core/browser/signin_manager.h" | 100 #include "components/signin/core/browser/signin_manager.h" |
| 101 #include "components/signin/core/common/signin_pref_names.h" | 101 #include "components/signin/core/common/signin_pref_names.h" |
| 102 #include "components/ssl_config/ssl_config_service_manager.h" | 102 #include "components/ssl_config/ssl_config_service_manager.h" |
| 103 #include "components/sync_preferences/pref_service_syncable.h" | 103 #include "components/sync_preferences/pref_service_syncable.h" |
| 104 #include "components/url_formatter/url_fixer.h" | 104 #include "components/url_formatter/url_fixer.h" |
| 105 #include "components/user_prefs/tracked/tracked_preference_validation_delegate.h
" | |
| 106 #include "components/user_prefs/user_prefs.h" | 105 #include "components/user_prefs/user_prefs.h" |
| 107 #include "components/zoom/zoom_event_manager.h" | 106 #include "components/zoom/zoom_event_manager.h" |
| 108 #include "content/public/browser/browser_thread.h" | 107 #include "content/public/browser/browser_thread.h" |
| 109 #include "content/public/browser/dom_storage_context.h" | 108 #include "content/public/browser/dom_storage_context.h" |
| 110 #include "content/public/browser/notification_service.h" | 109 #include "content/public/browser/notification_service.h" |
| 111 #include "content/public/browser/render_process_host.h" | 110 #include "content/public/browser/render_process_host.h" |
| 112 #include "content/public/browser/storage_partition.h" | 111 #include "content/public/browser/storage_partition.h" |
| 113 #include "content/public/browser/url_data_source.h" | 112 #include "content/public/browser/url_data_source.h" |
| 114 #include "content/public/browser/user_metrics.h" | 113 #include "content/public/browser/user_metrics.h" |
| 115 #include "content/public/common/content_constants.h" | 114 #include "content/public/common/content_constants.h" |
| 116 #include "content/public/common/page_zoom.h" | 115 #include "content/public/common/page_zoom.h" |
| 117 #include "extensions/features/features.h" | 116 #include "extensions/features/features.h" |
| 118 #include "ppapi/features/features.h" | 117 #include "ppapi/features/features.h" |
| 119 #include "printing/features/features.h" | 118 #include "printing/features/features.h" |
| 119 #include "services/preferences/public/interfaces/tracked_preference_validation_d
elegate.mojom.h" |
| 120 #include "ui/base/l10n/l10n_util.h" | 120 #include "ui/base/l10n/l10n_util.h" |
| 121 | 121 |
| 122 #if defined(OS_CHROMEOS) | 122 #if defined(OS_CHROMEOS) |
| 123 #include "chrome/browser/chromeos/locale_change_guard.h" | 123 #include "chrome/browser/chromeos/locale_change_guard.h" |
| 124 #include "chrome/browser/chromeos/preferences.h" | 124 #include "chrome/browser/chromeos/preferences.h" |
| 125 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 125 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
| 126 #include "chrome/browser/chromeos/settings/device_settings_service.h" | 126 #include "chrome/browser/chromeos/settings/device_settings_service.h" |
| 127 #include "components/user_manager/user_manager.h" | 127 #include "components/user_manager/user_manager.h" |
| 128 #endif | 128 #endif |
| 129 | 129 |
| (...skipping 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1292 ProfileImpl::CreateDomainReliabilityMonitor(PrefService* local_state) { | 1292 ProfileImpl::CreateDomainReliabilityMonitor(PrefService* local_state) { |
| 1293 domain_reliability::DomainReliabilityService* service = | 1293 domain_reliability::DomainReliabilityService* service = |
| 1294 domain_reliability::DomainReliabilityServiceFactory::GetInstance()-> | 1294 domain_reliability::DomainReliabilityServiceFactory::GetInstance()-> |
| 1295 GetForBrowserContext(this); | 1295 GetForBrowserContext(this); |
| 1296 if (!service) | 1296 if (!service) |
| 1297 return std::unique_ptr<domain_reliability::DomainReliabilityMonitor>(); | 1297 return std::unique_ptr<domain_reliability::DomainReliabilityMonitor>(); |
| 1298 | 1298 |
| 1299 return service->CreateMonitor( | 1299 return service->CreateMonitor( |
| 1300 BrowserThread::GetTaskRunnerForThread(BrowserThread::IO)); | 1300 BrowserThread::GetTaskRunnerForThread(BrowserThread::IO)); |
| 1301 } | 1301 } |
| OLD | NEW |