| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d
ata.h" | 67 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d
ata.h" |
| 68 #include "components/dom_distiller/core/url_constants.h" | 68 #include "components/dom_distiller/core/url_constants.h" |
| 69 #include "components/metrics/metrics_pref_names.h" | 69 #include "components/metrics/metrics_pref_names.h" |
| 70 #include "components/metrics/metrics_service.h" | 70 #include "components/metrics/metrics_service.h" |
| 71 #include "components/net_log/chrome_net_log.h" | 71 #include "components/net_log/chrome_net_log.h" |
| 72 #include "components/policy/core/browser/url_blacklist_manager.h" | 72 #include "components/policy/core/browser/url_blacklist_manager.h" |
| 73 #include "components/policy/core/common/cloud/policy_header_io_helper.h" | 73 #include "components/policy/core/common/cloud/policy_header_io_helper.h" |
| 74 #include "components/policy/core/common/cloud/policy_header_service.h" | 74 #include "components/policy/core/common/cloud/policy_header_service.h" |
| 75 #include "components/policy/core/common/cloud/user_cloud_policy_manager.h" | 75 #include "components/policy/core/common/cloud/user_cloud_policy_manager.h" |
| 76 #include "components/prefs/pref_service.h" | 76 #include "components/prefs/pref_service.h" |
| 77 #include "components/previews/previews_io_data.h" | 77 #include "components/previews/core/previews_io_data.h" |
| 78 #include "components/signin/core/common/signin_pref_names.h" | 78 #include "components/signin/core/common/signin_pref_names.h" |
| 79 #include "components/sync/driver/pref_names.h" | 79 #include "components/sync/driver/pref_names.h" |
| 80 #include "components/url_formatter/url_fixer.h" | 80 #include "components/url_formatter/url_fixer.h" |
| 81 #include "content/public/browser/browser_thread.h" | 81 #include "content/public/browser/browser_thread.h" |
| 82 #include "content/public/browser/host_zoom_map.h" | 82 #include "content/public/browser/host_zoom_map.h" |
| 83 #include "content/public/browser/notification_service.h" | 83 #include "content/public/browser/notification_service.h" |
| 84 #include "content/public/browser/resource_context.h" | 84 #include "content/public/browser/resource_context.h" |
| 85 #include "content/public/common/content_switches.h" | 85 #include "content/public/common/content_switches.h" |
| 86 #include "net/base/keygen_handler.h" | 86 #include "net/base/keygen_handler.h" |
| 87 #include "net/cert/cert_verifier.h" | 87 #include "net/cert/cert_verifier.h" |
| (...skipping 1295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1383 void ProfileIOData::SetCookieSettingsForTesting( | 1383 void ProfileIOData::SetCookieSettingsForTesting( |
| 1384 content_settings::CookieSettings* cookie_settings) { | 1384 content_settings::CookieSettings* cookie_settings) { |
| 1385 DCHECK(!cookie_settings_.get()); | 1385 DCHECK(!cookie_settings_.get()); |
| 1386 cookie_settings_ = cookie_settings; | 1386 cookie_settings_ = cookie_settings; |
| 1387 } | 1387 } |
| 1388 | 1388 |
| 1389 policy::URLBlacklist::URLBlacklistState ProfileIOData::GetURLBlacklistState( | 1389 policy::URLBlacklist::URLBlacklistState ProfileIOData::GetURLBlacklistState( |
| 1390 const GURL& url) const { | 1390 const GURL& url) const { |
| 1391 return url_blacklist_manager_->GetURLBlacklistState(url); | 1391 return url_blacklist_manager_->GetURLBlacklistState(url); |
| 1392 } | 1392 } |
| OLD | NEW |