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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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/signin/core/common/signin_pref_names.h" | 77 #include "components/signin/core/common/signin_pref_names.h" |
78 #include "components/sync_driver/pref_names.h" | 78 #include "components/sync/driver/pref_names.h" |
79 #include "components/url_formatter/url_fixer.h" | 79 #include "components/url_formatter/url_fixer.h" |
80 #include "content/public/browser/browser_thread.h" | 80 #include "content/public/browser/browser_thread.h" |
81 #include "content/public/browser/host_zoom_map.h" | 81 #include "content/public/browser/host_zoom_map.h" |
82 #include "content/public/browser/notification_service.h" | 82 #include "content/public/browser/notification_service.h" |
83 #include "content/public/browser/resource_context.h" | 83 #include "content/public/browser/resource_context.h" |
84 #include "content/public/common/content_switches.h" | 84 #include "content/public/common/content_switches.h" |
85 #include "net/base/keygen_handler.h" | 85 #include "net/base/keygen_handler.h" |
86 #include "net/cert/cert_verifier.h" | 86 #include "net/cert/cert_verifier.h" |
87 #include "net/cert/ct_log_verifier.h" | 87 #include "net/cert/ct_log_verifier.h" |
88 #include "net/cert/multi_log_ct_verifier.h" | 88 #include "net/cert/multi_log_ct_verifier.h" |
(...skipping 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1376 void ProfileIOData::SetCookieSettingsForTesting( | 1376 void ProfileIOData::SetCookieSettingsForTesting( |
1377 content_settings::CookieSettings* cookie_settings) { | 1377 content_settings::CookieSettings* cookie_settings) { |
1378 DCHECK(!cookie_settings_.get()); | 1378 DCHECK(!cookie_settings_.get()); |
1379 cookie_settings_ = cookie_settings; | 1379 cookie_settings_ = cookie_settings; |
1380 } | 1380 } |
1381 | 1381 |
1382 policy::URLBlacklist::URLBlacklistState ProfileIOData::GetURLBlacklistState( | 1382 policy::URLBlacklist::URLBlacklistState ProfileIOData::GetURLBlacklistState( |
1383 const GURL& url) const { | 1383 const GURL& url) const { |
1384 return url_blacklist_manager_->GetURLBlacklistState(url); | 1384 return url_blacklist_manager_->GetURLBlacklistState(url); |
1385 } | 1385 } |
OLD | NEW |