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

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

Issue 7240021: net: Add NET_API for some linux-only files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 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 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
11 // This contains the portable and the SSPI implementations for NTLM. 11 // This contains the portable and the SSPI implementations for NTLM.
(...skipping 16 matching lines...) Expand all
28 #include "base/basictypes.h" 28 #include "base/basictypes.h"
29 #include "base/string16.h" 29 #include "base/string16.h"
30 #include "net/http/http_auth_handler.h" 30 #include "net/http/http_auth_handler.h"
31 #include "net/http/http_auth_handler_factory.h" 31 #include "net/http/http_auth_handler_factory.h"
32 32
33 namespace net { 33 namespace net {
34 34
35 class URLSecurityManager; 35 class URLSecurityManager;
36 36
37 // Code for handling HTTP NTLM authentication. 37 // Code for handling HTTP NTLM authentication.
38 class HttpAuthHandlerNTLM : public HttpAuthHandler { 38 class NET_TEST HttpAuthHandlerNTLM : public HttpAuthHandler {
39 public: 39 public:
40 class Factory : public HttpAuthHandlerFactory { 40 class Factory : public HttpAuthHandlerFactory {
41 public: 41 public:
42 Factory(); 42 Factory();
43 virtual ~Factory(); 43 virtual ~Factory();
44 44
45 virtual int CreateAuthHandler(HttpAuth::ChallengeTokenizer* challenge, 45 virtual int CreateAuthHandler(HttpAuth::ChallengeTokenizer* challenge,
46 HttpAuth::Target target, 46 HttpAuth::Target target,
47 const GURL& origin, 47 const GURL& origin,
48 CreateReason reason, 48 CreateReason reason,
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 std::string auth_data_; 168 std::string auth_data_;
169 169
170 #if defined(NTLM_SSPI) 170 #if defined(NTLM_SSPI)
171 URLSecurityManager* url_security_manager_; 171 URLSecurityManager* url_security_manager_;
172 #endif 172 #endif
173 }; 173 };
174 174
175 } // namespace net 175 } // namespace net
176 176
177 #endif // NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_ 177 #endif // NET_HTTP_HTTP_AUTH_HANDLER_NTLM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698