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 1329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1340 base::WrapUnique(new DevToolsNetworkTransactionFactory( | 1340 base::WrapUnique(new DevToolsNetworkTransactionFactory( |
1341 network_controller_handle_.GetController(), shared_session)), | 1341 network_controller_handle_.GetController(), shared_session)), |
1342 std::move(backend), true /* set_up_quic_server_info */)); | 1342 std::move(backend), true /* set_up_quic_server_info */)); |
1343 } | 1343 } |
1344 | 1344 |
1345 void ProfileIOData::SetCookieSettingsForTesting( | 1345 void ProfileIOData::SetCookieSettingsForTesting( |
1346 content_settings::CookieSettings* cookie_settings) { | 1346 content_settings::CookieSettings* cookie_settings) { |
1347 DCHECK(!cookie_settings_.get()); | 1347 DCHECK(!cookie_settings_.get()); |
1348 cookie_settings_ = cookie_settings; | 1348 cookie_settings_ = cookie_settings; |
1349 } | 1349 } |
| 1350 |
| 1351 policy::URLBlacklist::URLBlacklistState ProfileIOData::GetURLBlacklistState( |
| 1352 const GURL& url) const { |
| 1353 return url_blacklist_manager_->GetURLBlacklistState(url); |
| 1354 } |
OLD | NEW |