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

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

Issue 2366893002: net: address review comments for NetLogWithSource renaming (Closed)
Patch Set: Created 4 years, 2 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 | « net/http/http_auth.h ('k') | net/http/http_basic_state.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 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "net/base/net_export.h" 14 #include "net/base/net_export.h"
15 #include "net/http/http_auth.h" 15 #include "net/http/http_auth.h"
16 #include "net/http/url_security_manager.h" 16 #include "net/http/url_security_manager.h"
17 17
18 class GURL; 18 class GURL;
19 19
20 namespace net { 20 namespace net {
21 21
22 class NetLogWithSource;
23 class HttpAuthPreferences;
24 class HostResolver; 22 class HostResolver;
25 class HttpAuthChallengeTokenizer; 23 class HttpAuthChallengeTokenizer;
26 class HttpAuthHandler; 24 class HttpAuthHandler;
27 class HttpAuthHandlerRegistryFactory; 25 class HttpAuthHandlerRegistryFactory;
26 class HttpAuthPreferences;
27 class NetLogWithSource;
28 28
29 // An HttpAuthHandlerFactory is used to create HttpAuthHandler objects. 29 // An HttpAuthHandlerFactory is used to create HttpAuthHandler objects.
30 // The HttpAuthHandlerFactory object _must_ outlive any of the HttpAuthHandler 30 // The HttpAuthHandlerFactory object _must_ outlive any of the HttpAuthHandler
31 // objects that it creates. 31 // objects that it creates.
32 class NET_EXPORT HttpAuthHandlerFactory { 32 class NET_EXPORT HttpAuthHandlerFactory {
33 public: 33 public:
34 enum CreateReason { 34 enum CreateReason {
35 CREATE_CHALLENGE, // Create a handler in response to a challenge. 35 CREATE_CHALLENGE, // Create a handler in response to a challenge.
36 CREATE_PREEMPTIVE, // Create a handler preemptively. 36 CREATE_PREEMPTIVE, // Create a handler preemptively.
37 }; 37 };
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 using FactoryMap = 193 using FactoryMap =
194 std::map<std::string, std::unique_ptr<HttpAuthHandlerFactory>>; 194 std::map<std::string, std::unique_ptr<HttpAuthHandlerFactory>>;
195 195
196 FactoryMap factory_map_; 196 FactoryMap factory_map_;
197 DISALLOW_COPY_AND_ASSIGN(HttpAuthHandlerRegistryFactory); 197 DISALLOW_COPY_AND_ASSIGN(HttpAuthHandlerRegistryFactory);
198 }; 198 };
199 199
200 } // namespace net 200 } // namespace net
201 201
202 #endif // NET_HTTP_HTTP_AUTH_HANDLER_FACTORY_H_ 202 #endif // NET_HTTP_HTTP_AUTH_HANDLER_FACTORY_H_
OLDNEW
« no previous file with comments | « net/http/http_auth.h ('k') | net/http/http_basic_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698