| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 71 |
| 72 void DumpMemoryStats(base::trace_event::ProcessMemoryDump* pmd, |
| 73 const std::string& parent_absolute_name) const override; |
| 74 |
| 72 enum JobType { | 75 enum JobType { |
| 73 MAIN, | 76 MAIN, |
| 74 ALTERNATIVE, | 77 ALTERNATIVE, |
| 75 PRECONNECT, | 78 PRECONNECT, |
| 76 }; | 79 }; |
| 77 | 80 |
| 78 private: | 81 private: |
| 79 FRIEND_TEST_ALL_PREFIXES(HttpStreamFactoryImplRequestTest, SetPriority); | 82 FRIEND_TEST_ALL_PREFIXES(HttpStreamFactoryImplRequestTest, SetPriority); |
| 80 FRIEND_TEST_ALL_PREFIXES(HttpStreamFactoryImplRequestTest, DelayMainJob); | 83 FRIEND_TEST_ALL_PREFIXES(HttpStreamFactoryImplRequestTest, DelayMainJob); |
| 81 | 84 |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 SpdySessionRequestMap spdy_session_request_map_; | 170 SpdySessionRequestMap spdy_session_request_map_; |
| 168 | 171 |
| 169 const bool for_websockets_; | 172 const bool for_websockets_; |
| 170 | 173 |
| 171 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); | 174 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); |
| 172 }; | 175 }; |
| 173 | 176 |
| 174 } // namespace net | 177 } // namespace net |
| 175 | 178 |
| 176 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ | 179 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ |
| OLD | NEW |