| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_SPDY_SPDY_TEST_UTIL_COMMON_H_ | 5 #ifndef NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ |
| 6 #define NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ | 6 #define NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 | 187 |
| 188 // NOTE: host_resolver must be ordered before http_auth_handler_factory. | 188 // NOTE: host_resolver must be ordered before http_auth_handler_factory. |
| 189 std::unique_ptr<MockHostResolverBase> host_resolver; | 189 std::unique_ptr<MockHostResolverBase> host_resolver; |
| 190 std::unique_ptr<CertVerifier> cert_verifier; | 190 std::unique_ptr<CertVerifier> cert_verifier; |
| 191 std::unique_ptr<ChannelIDService> channel_id_service; | 191 std::unique_ptr<ChannelIDService> channel_id_service; |
| 192 std::unique_ptr<TransportSecurityState> transport_security_state; | 192 std::unique_ptr<TransportSecurityState> transport_security_state; |
| 193 std::unique_ptr<ProxyService> proxy_service; | 193 std::unique_ptr<ProxyService> proxy_service; |
| 194 scoped_refptr<SSLConfigService> ssl_config_service; | 194 scoped_refptr<SSLConfigService> ssl_config_service; |
| 195 std::unique_ptr<MockClientSocketFactory> socket_factory; | 195 std::unique_ptr<MockClientSocketFactory> socket_factory; |
| 196 std::unique_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; | 196 std::unique_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; |
| 197 HttpServerPropertiesImpl http_server_properties; | 197 std::unique_ptr<HttpServerPropertiesImpl> http_server_properties; |
| 198 bool enable_ip_pooling; | 198 bool enable_ip_pooling; |
| 199 bool enable_ping; | 199 bool enable_ping; |
| 200 bool enable_user_alternate_protocol_ports; | 200 bool enable_user_alternate_protocol_ports; |
| 201 bool enable_npn; | 201 bool enable_npn; |
| 202 bool enable_priority_dependencies; | 202 bool enable_priority_dependencies; |
| 203 bool enable_spdy31; | 203 bool enable_spdy31; |
| 204 bool enable_quic; | 204 bool enable_quic; |
| 205 bool enable_alternative_service_for_insecure_origins; | 205 bool enable_alternative_service_for_insecure_origins; |
| 206 NextProto protocol; | 206 NextProto protocol; |
| 207 size_t session_max_recv_window_size; | 207 size_t session_max_recv_window_size; |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 565 GURL default_url_; | 565 GURL default_url_; |
| 566 bool dependency_priorities_; | 566 bool dependency_priorities_; |
| 567 | 567 |
| 568 // Track a FIFO list of the stream_id of all created requests by priority. | 568 // Track a FIFO list of the stream_id of all created requests by priority. |
| 569 std::map<int, std::vector<int>> priority_to_stream_id_list_; | 569 std::map<int, std::vector<int>> priority_to_stream_id_list_; |
| 570 }; | 570 }; |
| 571 | 571 |
| 572 } // namespace net | 572 } // namespace net |
| 573 | 573 |
| 574 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ | 574 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ |
| OLD | NEW |