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

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

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_STREAM_FACTORY_IMPL_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
11 #include <set> 11 #include <set>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "net/base/host_port_pair.h" 17 #include "net/base/host_port_pair.h"
18 #include "net/http/http_stream_factory.h" 18 #include "net/http/http_stream_factory.h"
19 #include "net/log/net_log.h"
20 #include "net/proxy/proxy_server.h" 19 #include "net/proxy/proxy_server.h"
21 #include "net/socket/ssl_client_socket.h" 20 #include "net/socket/ssl_client_socket.h"
22 #include "net/spdy/spdy_session_key.h" 21 #include "net/spdy/spdy_session_key.h"
23 22
24 namespace net { 23 namespace net {
25 24
26 class HttpNetworkSession; 25 class HttpNetworkSession;
27 class SpdySession; 26 class SpdySession;
27 class NetLogWithSource;
28 28
29 class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory { 29 class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory {
30 public: 30 public:
31 class NET_EXPORT_PRIVATE Job; 31 class NET_EXPORT_PRIVATE Job;
32 class NET_EXPORT_PRIVATE JobController; 32 class NET_EXPORT_PRIVATE JobController;
33 class NET_EXPORT_PRIVATE JobFactory; 33 class NET_EXPORT_PRIVATE JobFactory;
34 class NET_EXPORT_PRIVATE Request; 34 class NET_EXPORT_PRIVATE Request;
35 // RequestStream may only be called if |for_websockets| is false. 35 // RequestStream may only be called if |for_websockets| is false.
36 // RequestWebSocketHandshakeStream may only be called if |for_websockets| 36 // RequestWebSocketHandshakeStream may only be called if |for_websockets|
37 // is true. 37 // is true.
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 SpdySessionRequestMap spdy_session_request_map_; 147 SpdySessionRequestMap spdy_session_request_map_;
148 148
149 const bool for_websockets_; 149 const bool for_websockets_;
150 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); 150 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl);
151 }; 151 };
152 152
153 } // namespace net 153 } // namespace net
154 154
155 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ 155 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698