summaryrefslogtreecommitdiffstats
path: root/net/http/mock_allow_url_security_manager.cc
blob: e8b2c4ffe2bc9150d0e87b18e0c9c179b0ac514a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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