| 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 |
| 11 MockAllowURLSecurityManager::~MockAllowURLSecurityManager() {} | 12 MockAllowURLSecurityManager::~MockAllowURLSecurityManager() { |
| 13 } |
| 12 | 14 |
| 13 bool MockAllowURLSecurityManager::CanUseDefaultCredentials( | 15 bool MockAllowURLSecurityManager::CanUseDefaultCredentials( |
| 14 const GURL& auth_origin) const { | 16 const GURL& auth_origin) const { |
| 15 return true; | 17 return true; |
| 16 } | 18 } |
| 17 | 19 |
| 18 bool MockAllowURLSecurityManager::CanDelegate(const GURL& auth_origin) const { | 20 bool MockAllowURLSecurityManager::CanDelegate(const GURL& auth_origin) const { |
| 19 return true; | 21 return true; |
| 20 } | 22 } |
| 21 | 23 |
| 22 } // namespace net | 24 } // namespace net |
| OLD | NEW |