| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/url_security_manager.h" | 5 #include "net/http/url_security_manager.h" |
| 6 | 6 |
| 7 #include "net/http/http_auth_filter.h" | 7 #include "net/http/http_auth_filter.h" |
| 8 | 8 |
| 9 namespace net { | 9 namespace net { |
| 10 | 10 |
| 11 // static | 11 // static |
| 12 URLSecurityManager* URLSecurityManager::Create( | 12 URLSecurityManager* URLSecurityManager::Create() { |
| 13 const HttpAuthFilter* whitelist_default, | 13 return new URLSecurityManagerWhitelist; |
| 14 const HttpAuthFilter* whitelist_delegate) { | |
| 15 return new URLSecurityManagerWhitelist(whitelist_default, whitelist_delegate); | |
| 16 } | 14 } |
| 17 | 15 |
| 18 } // namespace net | 16 } // namespace net |
| OLD | NEW |