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

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

Issue 1488593002: Re-enable HTTP/2 over NPN (for OpenSSL). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2564
Patch Set: Created 5 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
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/spdy/spdy_test_util_common.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 scoped_ptr<ProxyService> proxy_service; 210 scoped_ptr<ProxyService> proxy_service;
211 scoped_refptr<SSLConfigService> ssl_config_service; 211 scoped_refptr<SSLConfigService> ssl_config_service;
212 scoped_ptr<MockClientSocketFactory> socket_factory; 212 scoped_ptr<MockClientSocketFactory> socket_factory;
213 scoped_ptr<DeterministicMockClientSocketFactory> deterministic_socket_factory; 213 scoped_ptr<DeterministicMockClientSocketFactory> deterministic_socket_factory;
214 scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; 214 scoped_ptr<HttpAuthHandlerFactory> http_auth_handler_factory;
215 HttpServerPropertiesImpl http_server_properties; 215 HttpServerPropertiesImpl http_server_properties;
216 bool enable_ip_pooling; 216 bool enable_ip_pooling;
217 bool enable_compression; 217 bool enable_compression;
218 bool enable_ping; 218 bool enable_ping;
219 bool enable_user_alternate_protocol_ports; 219 bool enable_user_alternate_protocol_ports;
220 bool enable_npn;
220 NextProto protocol; 221 NextProto protocol;
221 size_t session_max_recv_window_size; 222 size_t session_max_recv_window_size;
222 size_t stream_max_recv_window_size; 223 size_t stream_max_recv_window_size;
223 SpdySession::TimeFunc time_func; 224 SpdySession::TimeFunc time_func;
224 NextProtoVector next_protos; 225 NextProtoVector next_protos;
225 std::string trusted_spdy_proxy; 226 std::string trusted_spdy_proxy;
226 bool use_alternative_services; 227 bool use_alternative_services;
227 NetLog* net_log; 228 NetLog* net_log;
228 }; 229 };
229 230
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 GURL default_url_; 598 GURL default_url_;
598 bool dependency_priorities_; 599 bool dependency_priorities_;
599 600
600 // Track a FIFO list of the stream_id of all created requests by priority. 601 // Track a FIFO list of the stream_id of all created requests by priority.
601 std::map<int, std::vector<int>> priority_to_stream_id_list_; 602 std::map<int, std::vector<int>> priority_to_stream_id_list_;
602 }; 603 };
603 604
604 } // namespace net 605 } // namespace net
605 606
606 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ 607 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_
OLDNEW
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/spdy/spdy_test_util_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698