[SyncFS] Add completion callback to PromoteDemotedChanges
[chromium-blink-merge.git] / net / http / mock_allow_url_security_manager.cc
blobe8b2c4ffe2bc9150d0e87b18e0c9c179b0ac514a
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
3 // found in the LICENSE file.
5 #include "net/http/mock_allow_url_security_manager.h"
7 namespace net {
9 MockAllowURLSecurityManager::MockAllowURLSecurityManager() {}
11 MockAllowURLSecurityManager::~MockAllowURLSecurityManager() {}
13 bool MockAllowURLSecurityManager::CanUseDefaultCredentials(
14 const GURL& auth_origin) const {
15 return true;
18 bool MockAllowURLSecurityManager::CanDelegate(const GURL& auth_origin) const {
19 return true;
22 } // namespace net