Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: net/spdy/spdy_test_util_common.h

Issue 2546533003: Respect QuicAllowed policy for new streams (Closed)
Patch Set: IOS io_thread also initializes DynamicSharedParams Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 std::unique_ptr<CertVerifier> cert_verifier; 189 std::unique_ptr<CertVerifier> cert_verifier;
190 std::unique_ptr<ChannelIDService> channel_id_service; 190 std::unique_ptr<ChannelIDService> channel_id_service;
191 std::unique_ptr<TransportSecurityState> transport_security_state; 191 std::unique_ptr<TransportSecurityState> transport_security_state;
192 std::unique_ptr<CTVerifier> cert_transparency_verifier; 192 std::unique_ptr<CTVerifier> cert_transparency_verifier;
193 std::unique_ptr<CTPolicyEnforcer> ct_policy_enforcer; 193 std::unique_ptr<CTPolicyEnforcer> ct_policy_enforcer;
194 std::unique_ptr<ProxyService> proxy_service; 194 std::unique_ptr<ProxyService> proxy_service;
195 scoped_refptr<SSLConfigService> ssl_config_service; 195 scoped_refptr<SSLConfigService> ssl_config_service;
196 std::unique_ptr<MockClientSocketFactory> socket_factory; 196 std::unique_ptr<MockClientSocketFactory> socket_factory;
197 std::unique_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; 197 std::unique_ptr<HttpAuthHandlerFactory> http_auth_handler_factory;
198 std::unique_ptr<HttpServerPropertiesImpl> http_server_properties; 198 std::unique_ptr<HttpServerPropertiesImpl> http_server_properties;
199 std::unique_ptr<HttpNetworkSession::DynamicSharedParams>
200 dynamic_shared_params;
199 bool enable_ip_pooling; 201 bool enable_ip_pooling;
200 bool enable_ping; 202 bool enable_ping;
201 bool enable_user_alternate_protocol_ports; 203 bool enable_user_alternate_protocol_ports;
202 bool enable_quic; 204 bool enable_quic;
203 size_t session_max_recv_window_size; 205 size_t session_max_recv_window_size;
204 size_t stream_max_recv_window_size; 206 size_t stream_max_recv_window_size;
205 SpdySession::TimeFunc time_func; 207 SpdySession::TimeFunc time_func;
206 std::unique_ptr<ProxyDelegate> proxy_delegate; 208 std::unique_ptr<ProxyDelegate> proxy_delegate;
207 bool enable_http2_alternative_service_with_different_host; 209 bool enable_http2_alternative_service_with_different_host;
208 NetLog* net_log; 210 NetLog* net_log;
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 516
515 GURL default_url_; 517 GURL default_url_;
516 518
517 // Track a FIFO list of the stream_id of all created requests by priority. 519 // Track a FIFO list of the stream_id of all created requests by priority.
518 std::map<int, std::vector<int>> priority_to_stream_id_list_; 520 std::map<int, std::vector<int>> priority_to_stream_id_list_;
519 }; 521 };
520 522
521 } // namespace net 523 } // namespace net
522 524
523 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ 525 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698