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

Side by Side Diff: net/http/http_auth_handler_ntlm.h

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ Created 4 years, 3 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 #ifndef NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_ 5 #ifndef NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_
6 #define NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_ 6 #define NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 public: 42 public:
43 Factory(); 43 Factory();
44 ~Factory() override; 44 ~Factory() override;
45 45
46 int CreateAuthHandler(HttpAuthChallengeTokenizer* challenge, 46 int CreateAuthHandler(HttpAuthChallengeTokenizer* challenge,
47 HttpAuth::Target target, 47 HttpAuth::Target target,
48 const SSLInfo& ssl_info, 48 const SSLInfo& ssl_info,
49 const GURL& origin, 49 const GURL& origin,
50 CreateReason reason, 50 CreateReason reason,
51 int digest_nonce_count, 51 int digest_nonce_count,
52 const BoundNetLog& net_log, 52 const NetLogWithSource& net_log,
53 std::unique_ptr<HttpAuthHandler>* handler) override; 53 std::unique_ptr<HttpAuthHandler>* handler) override;
54 #if defined(NTLM_SSPI) 54 #if defined(NTLM_SSPI)
55 // Set the SSPILibrary to use. Typically the only callers which need to use 55 // Set the SSPILibrary to use. Typically the only callers which need to use
56 // this are unit tests which pass in a mocked-out version of the SSPI 56 // this are unit tests which pass in a mocked-out version of the SSPI
57 // library. After the call |sspi_library| will be owned by this Factory and 57 // library. After the call |sspi_library| will be owned by this Factory and
58 // will be destroyed when the Factory is destroyed. 58 // will be destroyed when the Factory is destroyed.
59 void set_sspi_library(SSPILibrary* sspi_library) { 59 void set_sspi_library(SSPILibrary* sspi_library) {
60 sspi_library_.reset(sspi_library); 60 sspi_library_.reset(sspi_library);
61 } 61 }
62 #endif // defined(NTLM_SSPI) 62 #endif // defined(NTLM_SSPI)
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 std::string auth_data_; 167 std::string auth_data_;
168 168
169 #if defined(NTLM_SSPI) 169 #if defined(NTLM_SSPI)
170 const HttpAuthPreferences* http_auth_preferences_; 170 const HttpAuthPreferences* http_auth_preferences_;
171 #endif 171 #endif
172 }; 172 };
173 173
174 } // namespace net 174 } // namespace net
175 175
176 #endif // NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_ 176 #endif // NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698