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

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

Issue 2826273004: Enable loading gssapi library for Chromad. (Closed)
Patch Set: Enable loading gssapi library for Chromad. Created 3 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
« no previous file with comments | « net/http/http_auth_preferences_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_http_auth_preferences.h" 5 #include "net/http/mock_allow_http_auth_preferences.h"
6 6
7 namespace net { 7 namespace net {
8 8
9 MockAllowHttpAuthPreferences::MockAllowHttpAuthPreferences() 9 MockAllowHttpAuthPreferences::MockAllowHttpAuthPreferences()
10 : HttpAuthPreferences(std::vector<std::string>() 10 : HttpAuthPreferences(std::vector<std::string>()
11 #if defined(OS_POSIX) && !defined(OS_ANDROID) 11 #if defined(OS_POSIX) && !defined(OS_ANDROID)
12 , 12 ,
13 std::string() 13 std::string()
14 #endif 14 #endif
15 ) { 15 #if defined(OS_CHROMEOS)
16 ,
17 true
18 #endif
19 ) {
16 } 20 }
17 21
18 MockAllowHttpAuthPreferences::~MockAllowHttpAuthPreferences() {} 22 MockAllowHttpAuthPreferences::~MockAllowHttpAuthPreferences() {}
19 23
20 bool MockAllowHttpAuthPreferences::CanUseDefaultCredentials( 24 bool MockAllowHttpAuthPreferences::CanUseDefaultCredentials(
21 const GURL& auth_origin) const { 25 const GURL& auth_origin) const {
22 return true; 26 return true;
23 } 27 }
24 28
25 bool MockAllowHttpAuthPreferences::CanDelegate(const GURL& auth_origin) const { 29 bool MockAllowHttpAuthPreferences::CanDelegate(const GURL& auth_origin) const {
26 return true; 30 return true;
27 } 31 }
28 32
29 } // namespace net 33 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_auth_preferences_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698