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_io_data.h" | 5 #include "chrome/browser/profiles/profile_io_data.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "base/threading/thread_task_runner_handle.h" | 27 #include "base/threading/thread_task_runner_handle.h" |
28 #include "build/build_config.h" | 28 #include "build/build_config.h" |
29 #include "chrome/browser/browser_process.h" | 29 #include "chrome/browser/browser_process.h" |
30 #include "chrome/browser/chrome_notification_types.h" | 30 #include "chrome/browser/chrome_notification_types.h" |
31 #include "chrome/browser/content_settings/cookie_settings_factory.h" | 31 #include "chrome/browser/content_settings/cookie_settings_factory.h" |
32 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" | 32 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" |
33 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 33 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
34 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" | 34 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" |
35 #include "chrome/browser/devtools/devtools_network_controller.h" | 35 #include "chrome/browser/devtools/devtools_network_controller.h" |
36 #include "chrome/browser/devtools/devtools_network_transaction_factory.h" | 36 #include "chrome/browser/devtools/devtools_network_transaction_factory.h" |
37 #include "chrome/browser/download/download_service.h" | |
38 #include "chrome/browser/download/download_service_factory.h" | |
39 #include "chrome/browser/io_thread.h" | 37 #include "chrome/browser/io_thread.h" |
40 #include "chrome/browser/net/chrome_http_user_agent_settings.h" | 38 #include "chrome/browser/net/chrome_http_user_agent_settings.h" |
41 #include "chrome/browser/net/chrome_network_delegate.h" | 39 #include "chrome/browser/net/chrome_network_delegate.h" |
42 #include "chrome/browser/net/chrome_url_request_context_getter.h" | 40 #include "chrome/browser/net/chrome_url_request_context_getter.h" |
43 #include "chrome/browser/net/proxy_service_factory.h" | 41 #include "chrome/browser/net/proxy_service_factory.h" |
44 #include "chrome/browser/net/resource_prefetch_predictor_observer.h" | 42 #include "chrome/browser/net/resource_prefetch_predictor_observer.h" |
45 #include "chrome/browser/policy/cloud/policy_header_service_factory.h" | 43 #include "chrome/browser/policy/cloud/policy_header_service_factory.h" |
46 #include "chrome/browser/policy/policy_helpers.h" | 44 #include "chrome/browser/policy/policy_helpers.h" |
47 #include "chrome/browser/predictors/resource_prefetch_predictor.h" | 45 #include "chrome/browser/predictors/resource_prefetch_predictor.h" |
48 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" | 46 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" |
(...skipping 1264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1313 void ProfileIOData::SetCookieSettingsForTesting( | 1311 void ProfileIOData::SetCookieSettingsForTesting( |
1314 content_settings::CookieSettings* cookie_settings) { | 1312 content_settings::CookieSettings* cookie_settings) { |
1315 DCHECK(!cookie_settings_.get()); | 1313 DCHECK(!cookie_settings_.get()); |
1316 cookie_settings_ = cookie_settings; | 1314 cookie_settings_ = cookie_settings; |
1317 } | 1315 } |
1318 | 1316 |
1319 policy::URLBlacklist::URLBlacklistState ProfileIOData::GetURLBlacklistState( | 1317 policy::URLBlacklist::URLBlacklistState ProfileIOData::GetURLBlacklistState( |
1320 const GURL& url) const { | 1318 const GURL& url) const { |
1321 return url_blacklist_manager_->GetURLBlacklistState(url); | 1319 return url_blacklist_manager_->GetURLBlacklistState(url); |
1322 } | 1320 } |
OLD | NEW |