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 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 #include "content/public/browser/dom_storage_context.h" | 106 #include "content/public/browser/dom_storage_context.h" |
107 #include "content/public/browser/notification_service.h" | 107 #include "content/public/browser/notification_service.h" |
108 #include "content/public/browser/render_process_host.h" | 108 #include "content/public/browser/render_process_host.h" |
109 #include "content/public/browser/storage_partition.h" | 109 #include "content/public/browser/storage_partition.h" |
110 #include "content/public/browser/url_data_source.h" | 110 #include "content/public/browser/url_data_source.h" |
111 #include "content/public/browser/user_metrics.h" | 111 #include "content/public/browser/user_metrics.h" |
112 #include "content/public/common/content_constants.h" | 112 #include "content/public/common/content_constants.h" |
113 #include "content/public/common/page_zoom.h" | 113 #include "content/public/common/page_zoom.h" |
114 #include "ui/base/l10n/l10n_util.h" | 114 #include "ui/base/l10n/l10n_util.h" |
115 | 115 |
116 #if defined(OS_ANDROID) | |
117 #include "chrome/browser/media/protected_media_identifier_permission_context.h" | |
118 #include "chrome/browser/media/protected_media_identifier_permission_context_fac
tory.h" | |
119 #endif | |
120 | |
121 #if defined(OS_CHROMEOS) | 116 #if defined(OS_CHROMEOS) |
122 #include "chrome/browser/chromeos/locale_change_guard.h" | 117 #include "chrome/browser/chromeos/locale_change_guard.h" |
123 #include "chrome/browser/chromeos/preferences.h" | 118 #include "chrome/browser/chromeos/preferences.h" |
124 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 119 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
125 #include "components/user_manager/user_manager.h" | 120 #include "components/user_manager/user_manager.h" |
126 #endif | 121 #endif |
127 | 122 |
128 #if BUILDFLAG(ENABLE_BACKGROUND) | 123 #if BUILDFLAG(ENABLE_BACKGROUND) |
129 #include "chrome/browser/background/background_mode_manager.h" | 124 #include "chrome/browser/background/background_mode_manager.h" |
130 #endif | 125 #endif |
(...skipping 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1269 ProfileImpl::CreateDomainReliabilityMonitor(PrefService* local_state) { | 1264 ProfileImpl::CreateDomainReliabilityMonitor(PrefService* local_state) { |
1270 domain_reliability::DomainReliabilityService* service = | 1265 domain_reliability::DomainReliabilityService* service = |
1271 domain_reliability::DomainReliabilityServiceFactory::GetInstance()-> | 1266 domain_reliability::DomainReliabilityServiceFactory::GetInstance()-> |
1272 GetForBrowserContext(this); | 1267 GetForBrowserContext(this); |
1273 if (!service) | 1268 if (!service) |
1274 return scoped_ptr<domain_reliability::DomainReliabilityMonitor>(); | 1269 return scoped_ptr<domain_reliability::DomainReliabilityMonitor>(); |
1275 | 1270 |
1276 return service->CreateMonitor( | 1271 return service->CreateMonitor( |
1277 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO)); | 1272 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO)); |
1278 } | 1273 } |
OLD | NEW |