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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 // deleted when the factory is destroyed. | 143 // deleted when the factory is destroyed. |
143 std::set<const Job*> preconnect_job_set_; | 144 std::set<const Job*> preconnect_job_set_; |
144 | 145 |
145 const bool for_websockets_; | 146 const bool for_websockets_; |
146 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); | 147 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); |
147 }; | 148 }; |
148 | 149 |
149 } // namespace net | 150 } // namespace net |
150 | 151 |
151 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ | 152 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ |
OLD | NEW |