| 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_SPDY_SPDY_TEST_UTIL_SPDY3_H_ | 5 #ifndef NET_SPDY_SPDY_TEST_UTIL_SPDY3_H_ |
| 6 #define NET_SPDY_SPDY_TEST_UTIL_SPDY3_H_ | 6 #define NET_SPDY_SPDY_TEST_UTIL_SPDY3_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/string_piece.h" | 10 #include "base/string_piece.h" |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 scoped_refptr<SSLConfigService> ssl_config_service; | 328 scoped_refptr<SSLConfigService> ssl_config_service; |
| 329 scoped_ptr<MockClientSocketFactory> socket_factory; | 329 scoped_ptr<MockClientSocketFactory> socket_factory; |
| 330 scoped_ptr<DeterministicMockClientSocketFactory> deterministic_socket_factory; | 330 scoped_ptr<DeterministicMockClientSocketFactory> deterministic_socket_factory; |
| 331 scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; | 331 scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; |
| 332 HttpServerPropertiesImpl http_server_properties; | 332 HttpServerPropertiesImpl http_server_properties; |
| 333 bool enable_ip_pooling; | 333 bool enable_ip_pooling; |
| 334 bool enable_compression; | 334 bool enable_compression; |
| 335 bool enable_ping; | 335 bool enable_ping; |
| 336 bool enable_user_alternate_protocol_ports; | 336 bool enable_user_alternate_protocol_ports; |
| 337 bool enable_spdy_31; | 337 bool enable_spdy_31; |
| 338 bool enable_spdy_4; |
| 338 size_t stream_initial_recv_window_size; | 339 size_t stream_initial_recv_window_size; |
| 339 SpdySession::TimeFunc time_func; | 340 SpdySession::TimeFunc time_func; |
| 340 std::string trusted_spdy_proxy; | 341 std::string trusted_spdy_proxy; |
| 341 NetLog* net_log; | 342 NetLog* net_log; |
| 342 }; | 343 }; |
| 343 | 344 |
| 344 class SpdyURLRequestContext : public URLRequestContext { | 345 class SpdyURLRequestContext : public URLRequestContext { |
| 345 public: | 346 public: |
| 346 SpdyURLRequestContext(); | 347 SpdyURLRequestContext(); |
| 347 virtual ~SpdyURLRequestContext(); | 348 virtual ~SpdyURLRequestContext(); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 SpdySessionPool* const pool_; | 385 SpdySessionPool* const pool_; |
| 385 | 386 |
| 386 DISALLOW_COPY_AND_ASSIGN(SpdySessionPoolPeer); | 387 DISALLOW_COPY_AND_ASSIGN(SpdySessionPoolPeer); |
| 387 }; | 388 }; |
| 388 | 389 |
| 389 } // namespace test_spdy3 | 390 } // namespace test_spdy3 |
| 390 | 391 |
| 391 } // namespace net | 392 } // namespace net |
| 392 | 393 |
| 393 #endif // NET_SPDY_SPDY_TEST_UTIL_SPDY3_H_ | 394 #endif // NET_SPDY_SPDY_TEST_UTIL_SPDY3_H_ |
| OLD | NEW |