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

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

Issue 1604011: Use HttpRequestHeaders for extra_headers. (Closed)
Patch Set: Address eroman comments. Created 10 years, 8 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 | « base/string_util.cc ('k') | net/http/http_auth_sspi_win.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_H_ 5 #ifndef NET_HTTP_HTTP_AUTH_HANDLER_H_
6 #define NET_HTTP_HTTP_AUTH_HANDLER_H_ 6 #define NET_HTTP_HTTP_AUTH_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
11 #include "net/http/http_auth.h" 11 #include "net/http/http_auth.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 class HttpRequestInfo; 15 struct HttpRequestInfo;
16 class ProxyInfo; 16 class ProxyInfo;
17 17
18 // HttpAuthHandler is the interface for the authentication schemes 18 // HttpAuthHandler is the interface for the authentication schemes
19 // (basic, digest, NTLM, Negotiate). 19 // (basic, digest, NTLM, Negotiate).
20 // HttpAuthHandler objects are typically created by an HttpAuthHandlerFactory. 20 // HttpAuthHandler objects are typically created by an HttpAuthHandlerFactory.
21 class HttpAuthHandler : public base::RefCounted<HttpAuthHandler> { 21 class HttpAuthHandler : public base::RefCounted<HttpAuthHandler> {
22 public: 22 public:
23 // Initializes the handler using a challenge issued by a server. 23 // Initializes the handler using a challenge issued by a server.
24 // |challenge| must be non-NULL and have already tokenized the 24 // |challenge| must be non-NULL and have already tokenized the
25 // authentication scheme, but none of the tokens occuring after the 25 // authentication scheme, but none of the tokens occuring after the
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // origin server. 138 // origin server.
139 HttpAuth::Target target_; 139 HttpAuth::Target target_;
140 140
141 // A bitmask of the properties of the authentication scheme. 141 // A bitmask of the properties of the authentication scheme.
142 int properties_; 142 int properties_;
143 }; 143 };
144 144
145 } // namespace net 145 } // namespace net
146 146
147 #endif // NET_HTTP_HTTP_AUTH_HANDLER_H_ 147 #endif // NET_HTTP_HTTP_AUTH_HANDLER_H_
OLDNEW
« no previous file with comments | « base/string_util.cc ('k') | net/http/http_auth_sspi_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698