Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(538)

Side by Side Diff: net/http/mock_allow_url_security_manager.cc

Issue 1151843002: DO NOT LAND Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 MockAllowURLSecurityManager::~MockAllowURLSecurityManager() {} 11 MockAllowURLSecurityManager::~MockAllowURLSecurityManager() {}
12 12
13 bool MockAllowURLSecurityManager::CanUseDefaultCredentials( 13 bool MockAllowURLSecurityManager::CanUseDefaultCredentials(
14 const GURL& auth_origin) const { 14 const url::Origin& auth_origin) const {
15 return true; 15 return true;
16 } 16 }
17 17
18 bool MockAllowURLSecurityManager::CanDelegate(const GURL& auth_origin) const { 18 bool MockAllowURLSecurityManager::CanDelegate(
19 const url::Origin& auth_origin) const {
19 return true; 20 return true;
20 } 21 }
21 22
22 } // namespace net 23 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698