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

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

Issue 2366893002: net: address review comments for NetLogWithSource renaming (Closed)
Patch Set: 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
« no previous file with comments | « net/http/failing_http_transaction_factory.cc ('k') | net/http/http_auth_handler_factory.h » ('j') | 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 #ifndef NET_HTTP_HTTP_AUTH_H_ 5 #ifndef NET_HTTP_HTTP_AUTH_H_
6 #define NET_HTTP_HTTP_AUTH_H_ 6 #define NET_HTTP_HTTP_AUTH_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "net/base/auth.h" 12 #include "net/base/auth.h"
13 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
14 #include "net/http/http_util.h" 14 #include "net/http/http_util.h"
15 15
16 template <class T> class scoped_refptr; 16 template <class T> class scoped_refptr;
17 17
18 namespace net { 18 namespace net {
19 19
20 class NetLogWithSource;
21 class HttpAuthHandler; 20 class HttpAuthHandler;
22 class HttpAuthHandlerFactory; 21 class HttpAuthHandlerFactory;
23 class HttpResponseHeaders; 22 class HttpResponseHeaders;
23 class NetLogWithSource;
24 class SSLInfo; 24 class SSLInfo;
25 25
26 // Utility class for http authentication. 26 // Utility class for http authentication.
27 class NET_EXPORT_PRIVATE HttpAuth { 27 class NET_EXPORT_PRIVATE HttpAuth {
28 public: 28 public:
29 // Http authentication can be done the the proxy server, origin server, 29 // Http authentication can be done the the proxy server, origin server,
30 // or both. This enum tracks who the target is. 30 // or both. This enum tracks who the target is.
31 enum Target { 31 enum Target {
32 AUTH_NONE = -1, 32 AUTH_NONE = -1,
33 // We depend on the valid targets (!= AUTH_NONE) being usable as indexes 33 // We depend on the valid targets (!= AUTH_NONE) being usable as indexes
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 HttpAuthHandler* handler, 170 HttpAuthHandler* handler,
171 const HttpResponseHeaders& response_headers, 171 const HttpResponseHeaders& response_headers,
172 Target target, 172 Target target,
173 const std::set<Scheme>& disabled_schemes, 173 const std::set<Scheme>& disabled_schemes,
174 std::string* challenge_used); 174 std::string* challenge_used);
175 }; 175 };
176 176
177 } // namespace net 177 } // namespace net
178 178
179 #endif // NET_HTTP_HTTP_AUTH_H_ 179 #endif // NET_HTTP_HTTP_AUTH_H_
OLDNEW
« no previous file with comments | « net/http/failing_http_transaction_factory.cc ('k') | net/http/http_auth_handler_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698