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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
(...skipping 25 matching lines...) Expand all Loading... |
36 const SSLConfig& server_ssl_config, | 36 const SSLConfig& server_ssl_config, |
37 const SSLConfig& proxy_ssl_config, | 37 const SSLConfig& proxy_ssl_config, |
38 HttpStreamRequest::Delegate* delegate, | 38 HttpStreamRequest::Delegate* delegate, |
39 const BoundNetLog& net_log) OVERRIDE; | 39 const BoundNetLog& net_log) OVERRIDE; |
40 | 40 |
41 virtual void PreconnectStreams(int num_streams, | 41 virtual void PreconnectStreams(int num_streams, |
42 const HttpRequestInfo& info, | 42 const HttpRequestInfo& info, |
43 const SSLConfig& server_ssl_config, | 43 const SSLConfig& server_ssl_config, |
44 const SSLConfig& proxy_ssl_config) OVERRIDE; | 44 const SSLConfig& proxy_ssl_config) OVERRIDE; |
45 virtual base::Value* PipelineInfoToValue() const OVERRIDE; | 45 virtual base::Value* PipelineInfoToValue() const OVERRIDE; |
| 46 virtual const HostMappingRules* GetHostMappingRules() const OVERRIDE; |
46 | 47 |
47 // HttpPipelinedHostPool::Delegate interface | 48 // HttpPipelinedHostPool::Delegate interface |
48 virtual void OnHttpPipelinedHostHasAdditionalCapacity( | 49 virtual void OnHttpPipelinedHostHasAdditionalCapacity( |
49 HttpPipelinedHost* host) OVERRIDE; | 50 HttpPipelinedHost* host) OVERRIDE; |
50 | 51 |
51 private: | 52 private: |
52 class Request; | 53 class Request; |
53 class Job; | 54 class Job; |
54 | 55 |
55 typedef std::set<Request*> RequestSet; | 56 typedef std::set<Request*> RequestSet; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 // object. They're owned by HttpStreamFactoryImpl. Leftover jobs will be | 119 // object. They're owned by HttpStreamFactoryImpl. Leftover jobs will be |
119 // deleted when the factory is destroyed. | 120 // deleted when the factory is destroyed. |
120 std::set<const Job*> preconnect_job_set_; | 121 std::set<const Job*> preconnect_job_set_; |
121 | 122 |
122 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); | 123 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); |
123 }; | 124 }; |
124 | 125 |
125 } // namespace net | 126 } // namespace net |
126 | 127 |
127 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ | 128 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ |
OLD | NEW |