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

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

Issue 8568021: Add OVERRIDE to net/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: net only Created 9 years, 1 month 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_auth_handler_mock.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_HANDLER_FACTORY_H_ 5 #ifndef NET_HTTP_HTTP_AUTH_HANDLER_FACTORY_H_
6 #define NET_HTTP_HTTP_AUTH_HANDLER_FACTORY_H_ 6 #define NET_HTTP_HTTP_AUTH_HANDLER_FACTORY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 bool negotiate_enable_port); 182 bool negotiate_enable_port);
183 183
184 // Creates an auth handler by dispatching out to the registered factories 184 // Creates an auth handler by dispatching out to the registered factories
185 // based on the first token in |challenge|. 185 // based on the first token in |challenge|.
186 virtual int CreateAuthHandler(HttpAuth::ChallengeTokenizer* challenge, 186 virtual int CreateAuthHandler(HttpAuth::ChallengeTokenizer* challenge,
187 HttpAuth::Target target, 187 HttpAuth::Target target,
188 const GURL& origin, 188 const GURL& origin,
189 CreateReason reason, 189 CreateReason reason,
190 int digest_nonce_count, 190 int digest_nonce_count,
191 const BoundNetLog& net_log, 191 const BoundNetLog& net_log,
192 scoped_ptr<HttpAuthHandler>* handler); 192 scoped_ptr<HttpAuthHandler>* handler) OVERRIDE;
193 193
194 private: 194 private:
195 typedef std::map<std::string, HttpAuthHandlerFactory*> FactoryMap; 195 typedef std::map<std::string, HttpAuthHandlerFactory*> FactoryMap;
196 196
197 FactoryMap factory_map_; 197 FactoryMap factory_map_;
198 DISALLOW_COPY_AND_ASSIGN(HttpAuthHandlerRegistryFactory); 198 DISALLOW_COPY_AND_ASSIGN(HttpAuthHandlerRegistryFactory);
199 }; 199 };
200 200
201 } // namespace net 201 } // namespace net
202 202
203 #endif // NET_HTTP_HTTP_AUTH_HANDLER_FACTORY_H_ 203 #endif // NET_HTTP_HTTP_AUTH_HANDLER_FACTORY_H_
OLDNEW
« no previous file with comments | « net/http/http_auth_handler_digest.h ('k') | net/http/http_auth_handler_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698