OLD | NEW |
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/base/request_priority.h" |
18 #include "net/http/http_stream_factory.h" | 19 #include "net/http/http_stream_factory.h" |
19 #include "net/log/net_log.h" | 20 #include "net/log/net_log.h" |
20 #include "net/proxy/proxy_server.h" | 21 #include "net/proxy/proxy_server.h" |
21 #include "net/socket/ssl_client_socket.h" | 22 #include "net/socket/ssl_client_socket.h" |
22 #include "net/spdy/spdy_session_key.h" | 23 #include "net/spdy/spdy_session_key.h" |
23 | 24 |
24 namespace net { | 25 namespace net { |
25 | 26 |
26 class HttpNetworkSession; | 27 class HttpNetworkSession; |
27 class SpdySession; | 28 class SpdySession; |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 // deleted when the factory is destroyed. | 147 // deleted when the factory is destroyed. |
147 std::set<const Job*> preconnect_job_set_; | 148 std::set<const Job*> preconnect_job_set_; |
148 | 149 |
149 const bool for_websockets_; | 150 const bool for_websockets_; |
150 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); | 151 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); |
151 }; | 152 }; |
152 | 153 |
153 } // namespace net | 154 } // namespace net |
154 | 155 |
155 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ | 156 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ |
OLD | NEW |