| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "net/http/mock_allow_url_security_manager.h" | 5 #include "net/http/mock_allow_url_security_manager.h" |
| 6 | 6 |
| 7 namespace net { | 7 namespace net { |
| 8 | 8 |
| 9 MockAllowURLSecurityManager::MockAllowURLSecurityManager() {} | 9 MockAllowURLSecurityManager::MockAllowURLSecurityManager() {} |
| 10 | 10 |
| 11 MockAllowURLSecurityManager::~MockAllowURLSecurityManager() {} | 11 MockAllowURLSecurityManager::~MockAllowURLSecurityManager() {} |
| 12 | 12 |
| 13 bool MockAllowURLSecurityManager::CanUseDefaultCredentials( | 13 bool MockAllowURLSecurityManager::CanUseDefaultCredentials( |
| 14 const GURL& auth_origin) const { | 14 const url::Origin& auth_origin) const { |
| 15 return true; | 15 return true; |
| 16 } | 16 } |
| 17 | 17 |
| 18 bool MockAllowURLSecurityManager::CanDelegate(const GURL& auth_origin) const { | 18 bool MockAllowURLSecurityManager::CanDelegate( |
| 19 const url::Origin& auth_origin) const { |
| 19 return true; | 20 return true; |
| 20 } | 21 } |
| 21 | 22 |
| 22 } // namespace net | 23 } // namespace net |
| OLD | NEW |