| 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> |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 HttpStreamRequest* RequestWebSocketHandshakeStream( | 45 HttpStreamRequest* RequestWebSocketHandshakeStream( |
| 46 const HttpRequestInfo& info, | 46 const HttpRequestInfo& info, |
| 47 RequestPriority priority, | 47 RequestPriority priority, |
| 48 const SSLConfig& server_ssl_config, | 48 const SSLConfig& server_ssl_config, |
| 49 const SSLConfig& proxy_ssl_config, | 49 const SSLConfig& proxy_ssl_config, |
| 50 HttpStreamRequest::Delegate* delegate, | 50 HttpStreamRequest::Delegate* delegate, |
| 51 WebSocketHandshakeStreamBase::CreateHelper* create_helper, | 51 WebSocketHandshakeStreamBase::CreateHelper* create_helper, |
| 52 const BoundNetLog& net_log) override; | 52 const BoundNetLog& net_log) override; |
| 53 | 53 |
| 54 HttpStreamRequest* RequestBidirectionalStreamJob( | 54 HttpStreamRequest* RequestBidirectionalStreamImpl( |
| 55 const HttpRequestInfo& info, | 55 const HttpRequestInfo& info, |
| 56 RequestPriority priority, | 56 RequestPriority priority, |
| 57 const SSLConfig& server_ssl_config, | 57 const SSLConfig& server_ssl_config, |
| 58 const SSLConfig& proxy_ssl_config, | 58 const SSLConfig& proxy_ssl_config, |
| 59 HttpStreamRequest::Delegate* delegate, | 59 HttpStreamRequest::Delegate* delegate, |
| 60 const BoundNetLog& net_log) override; | 60 const BoundNetLog& net_log) override; |
| 61 | 61 |
| 62 void PreconnectStreams(int num_streams, | 62 void PreconnectStreams(int num_streams, |
| 63 const HttpRequestInfo& info, | 63 const HttpRequestInfo& info, |
| 64 const SSLConfig& server_ssl_config, | 64 const SSLConfig& server_ssl_config, |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 // deleted when the factory is destroyed. | 146 // deleted when the factory is destroyed. |
| 147 std::set<const Job*> preconnect_job_set_; | 147 std::set<const Job*> preconnect_job_set_; |
| 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_ |
| OLD | NEW |