| Index: net/http/mock_allow_url_security_manager.cc
|
| diff --git a/net/http/mock_allow_url_security_manager.cc b/net/http/mock_allow_url_security_manager.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e8b2c4ffe2bc9150d0e87b18e0c9c179b0ac514a
|
| --- /dev/null
|
| +++ b/net/http/mock_allow_url_security_manager.cc
|
| @@ -0,0 +1,22 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "net/http/mock_allow_url_security_manager.h"
|
| +
|
| +namespace net {
|
| +
|
| +MockAllowURLSecurityManager::MockAllowURLSecurityManager() {}
|
| +
|
| +MockAllowURLSecurityManager::~MockAllowURLSecurityManager() {}
|
| +
|
| +bool MockAllowURLSecurityManager::CanUseDefaultCredentials(
|
| + const GURL& auth_origin) const {
|
| + return true;
|
| +}
|
| +
|
| +bool MockAllowURLSecurityManager::CanDelegate(const GURL& auth_origin) const {
|
| + return true;
|
| +}
|
| +
|
| +} // namespace net
|
|
|