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

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

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « net/http/http_auth_handler_digest.h ('k') | net/http/http_cache.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_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
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 virtual bool Init(HttpAuth::ChallengeTokenizer* tok); 121 virtual bool Init(HttpAuth::ChallengeTokenizer* tok);
122 122
123 virtual int GenerateAuthTokenImpl(const string16* username, 123 virtual int GenerateAuthTokenImpl(const string16* username,
124 const string16* password, 124 const string16* password,
125 const HttpRequestInfo* request, 125 const HttpRequestInfo* request,
126 CompletionCallback* callback, 126 CompletionCallback* callback,
127 std::string* auth_token); 127 std::string* auth_token);
128 128
129 private: 129 private:
130 ~HttpAuthHandlerNTLM(); 130 virtual ~HttpAuthHandlerNTLM();
131 131
132 #if defined(NTLM_PORTABLE) 132 #if defined(NTLM_PORTABLE)
133 // For unit tests to override the GenerateRandom and GetHostName functions. 133 // For unit tests to override the GenerateRandom and GetHostName functions.
134 // Returns the old function. 134 // Returns the old function.
135 static GenerateRandomProc SetGenerateRandomProc(GenerateRandomProc proc); 135 static GenerateRandomProc SetGenerateRandomProc(GenerateRandomProc proc);
136 static HostNameProc SetHostNameProc(HostNameProc proc); 136 static HostNameProc SetHostNameProc(HostNameProc proc);
137 #endif 137 #endif
138 138
139 // Parse the challenge, saving the results into this instance. 139 // Parse the challenge, saving the results into this instance.
140 HttpAuth::AuthorizationResult ParseChallenge( 140 HttpAuth::AuthorizationResult ParseChallenge(
(...skipping 27 matching lines...) Expand all
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
« no previous file with comments | « net/http/http_auth_handler_digest.h ('k') | net/http/http_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698