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

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

Issue 5648004: Add the "virtual" keyword on method overrides that are missing it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing file Created 10 years 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_basic.h ('k') | net/http/http_net_log_params.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_DIGEST_H_ 5 #ifndef NET_HTTP_HTTP_AUTH_HANDLER_DIGEST_H_
6 #define NET_HTTP_HTTP_AUTH_HANDLER_DIGEST_H_ 6 #define NET_HTTP_HTTP_AUTH_HANDLER_DIGEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 const BoundNetLog& net_log, 70 const BoundNetLog& net_log,
71 scoped_ptr<HttpAuthHandler>* handler); 71 scoped_ptr<HttpAuthHandler>* handler);
72 72
73 // This factory owns the passed in |nonce_generator|. 73 // This factory owns the passed in |nonce_generator|.
74 void set_nonce_generator(const NonceGenerator* nonce_generator); 74 void set_nonce_generator(const NonceGenerator* nonce_generator);
75 75
76 private: 76 private:
77 scoped_ptr<const NonceGenerator> nonce_generator_; 77 scoped_ptr<const NonceGenerator> nonce_generator_;
78 }; 78 };
79 79
80 HttpAuth::AuthorizationResult HandleAnotherChallenge( 80 virtual HttpAuth::AuthorizationResult HandleAnotherChallenge(
81 HttpAuth::ChallengeTokenizer* challenge); 81 HttpAuth::ChallengeTokenizer* challenge);
82 82
83 protected: 83 protected:
84 virtual bool Init(HttpAuth::ChallengeTokenizer* challenge); 84 virtual bool Init(HttpAuth::ChallengeTokenizer* challenge);
85 85
86 virtual int GenerateAuthTokenImpl(const string16* username, 86 virtual int GenerateAuthTokenImpl(const string16* username,
87 const string16* password, 87 const string16* password,
88 const HttpRequestInfo* request, 88 const HttpRequestInfo* request,
89 CompletionCallback* callback, 89 CompletionCallback* callback,
90 std::string* auth_token); 90 std::string* auth_token);
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 DigestAlgorithm algorithm_; 168 DigestAlgorithm algorithm_;
169 QualityOfProtection qop_; 169 QualityOfProtection qop_;
170 170
171 int nonce_count_; 171 int nonce_count_;
172 const NonceGenerator* nonce_generator_; 172 const NonceGenerator* nonce_generator_;
173 }; 173 };
174 174
175 } // namespace net 175 } // namespace net
176 176
177 #endif // NET_HTTP_HTTP_AUTH_HANDLER_DIGEST_H_ 177 #endif // NET_HTTP_HTTP_AUTH_HANDLER_DIGEST_H_
OLDNEW
« no previous file with comments | « net/http/http_auth_handler_basic.h ('k') | net/http/http_net_log_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698