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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 #include "components/metrics/metrics_service.h" | 93 #include "components/metrics/metrics_service.h" |
94 #include "components/omnibox/browser/autocomplete_classifier.h" | 94 #include "components/omnibox/browser/autocomplete_classifier.h" |
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/syncable_prefs/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
" | 105 #include "components/user_prefs/tracked/tracked_preference_validation_delegate.h
" |
106 #include "components/user_prefs/user_prefs.h" | 106 #include "components/user_prefs/user_prefs.h" |
107 #include "components/zoom/zoom_event_manager.h" | 107 #include "components/zoom/zoom_event_manager.h" |
108 #include "content/public/browser/browser_thread.h" | 108 #include "content/public/browser/browser_thread.h" |
109 #include "content/public/browser/dom_storage_context.h" | 109 #include "content/public/browser/dom_storage_context.h" |
110 #include "content/public/browser/notification_service.h" | 110 #include "content/public/browser/notification_service.h" |
111 #include "content/public/browser/render_process_host.h" | 111 #include "content/public/browser/render_process_host.h" |
112 #include "content/public/browser/storage_partition.h" | 112 #include "content/public/browser/storage_partition.h" |
113 #include "content/public/browser/url_data_source.h" | 113 #include "content/public/browser/url_data_source.h" |
(...skipping 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1272 ProfileImpl::CreateDomainReliabilityMonitor(PrefService* local_state) { | 1272 ProfileImpl::CreateDomainReliabilityMonitor(PrefService* local_state) { |
1273 domain_reliability::DomainReliabilityService* service = | 1273 domain_reliability::DomainReliabilityService* service = |
1274 domain_reliability::DomainReliabilityServiceFactory::GetInstance()-> | 1274 domain_reliability::DomainReliabilityServiceFactory::GetInstance()-> |
1275 GetForBrowserContext(this); | 1275 GetForBrowserContext(this); |
1276 if (!service) | 1276 if (!service) |
1277 return std::unique_ptr<domain_reliability::DomainReliabilityMonitor>(); | 1277 return std::unique_ptr<domain_reliability::DomainReliabilityMonitor>(); |
1278 | 1278 |
1279 return service->CreateMonitor( | 1279 return service->CreateMonitor( |
1280 BrowserThread::GetTaskRunnerForThread(BrowserThread::IO)); | 1280 BrowserThread::GetTaskRunnerForThread(BrowserThread::IO)); |
1281 } | 1281 } |
OLD | NEW |