| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 HttpStreamRequest* RequestBidirectionalStreamImpl( | 61 HttpStreamRequest* RequestBidirectionalStreamImpl( |
| 62 const HttpRequestInfo& info, | 62 const HttpRequestInfo& info, |
| 63 RequestPriority priority, | 63 RequestPriority priority, |
| 64 const SSLConfig& server_ssl_config, | 64 const SSLConfig& server_ssl_config, |
| 65 const SSLConfig& proxy_ssl_config, | 65 const SSLConfig& proxy_ssl_config, |
| 66 HttpStreamRequest::Delegate* delegate, | 66 HttpStreamRequest::Delegate* delegate, |
| 67 const NetLogWithSource& net_log) override; | 67 const NetLogWithSource& net_log) override; |
| 68 | 68 |
| 69 void PreconnectStreams(int num_streams, const HttpRequestInfo& info) override; | 69 void PreconnectStreams(int num_streams, const HttpRequestInfo& info) override; |
| 70 const HostMappingRules* GetHostMappingRules() const override; | 70 const HostMappingRules* GetHostMappingRules() const override; |
| 71 void DumpMemoryStats(base::trace_event::ProcessMemoryDump* pmd, |
| 72 const std::string& parent_absolute_name) const override; |
| 71 | 73 |
| 72 enum JobType { | 74 enum JobType { |
| 73 MAIN, | 75 MAIN, |
| 74 ALTERNATIVE, | 76 ALTERNATIVE, |
| 75 PRECONNECT, | 77 PRECONNECT, |
| 76 }; | 78 }; |
| 77 | 79 |
| 78 private: | 80 private: |
| 79 FRIEND_TEST_ALL_PREFIXES(HttpStreamFactoryImplRequestTest, SetPriority); | 81 FRIEND_TEST_ALL_PREFIXES(HttpStreamFactoryImplRequestTest, SetPriority); |
| 80 FRIEND_TEST_ALL_PREFIXES(HttpStreamFactoryImplRequestTest, DelayMainJob); | 82 FRIEND_TEST_ALL_PREFIXES(HttpStreamFactoryImplRequestTest, DelayMainJob); |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 SpdySessionRequestMap spdy_session_request_map_; | 169 SpdySessionRequestMap spdy_session_request_map_; |
| 168 | 170 |
| 169 const bool for_websockets_; | 171 const bool for_websockets_; |
| 170 | 172 |
| 171 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); | 173 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); |
| 172 }; | 174 }; |
| 173 | 175 |
| 174 } // namespace net | 176 } // namespace net |
| 175 | 177 |
| 176 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ | 178 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ |
| OLD | NEW |