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

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

Issue 2026863002: Disable AltSvc from insecure origin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 std::unique_ptr<MockClientSocketFactory> socket_factory; 194 std::unique_ptr<MockClientSocketFactory> socket_factory;
195 std::unique_ptr<HttpAuthHandlerFactory> http_auth_handler_factory; 195 std::unique_ptr<HttpAuthHandlerFactory> http_auth_handler_factory;
196 HttpServerPropertiesImpl http_server_properties; 196 HttpServerPropertiesImpl http_server_properties;
197 bool enable_ip_pooling; 197 bool enable_ip_pooling;
198 bool enable_ping; 198 bool enable_ping;
199 bool enable_user_alternate_protocol_ports; 199 bool enable_user_alternate_protocol_ports;
200 bool enable_npn; 200 bool enable_npn;
201 bool enable_priority_dependencies; 201 bool enable_priority_dependencies;
202 bool enable_spdy31; 202 bool enable_spdy31;
203 bool enable_quic; 203 bool enable_quic;
204 bool enable_alternative_service_for_insecure_origins;
204 NextProto protocol; 205 NextProto protocol;
205 size_t session_max_recv_window_size; 206 size_t session_max_recv_window_size;
206 size_t stream_max_recv_window_size; 207 size_t stream_max_recv_window_size;
207 SpdySession::TimeFunc time_func; 208 SpdySession::TimeFunc time_func;
208 std::unique_ptr<ProxyDelegate> proxy_delegate; 209 std::unique_ptr<ProxyDelegate> proxy_delegate;
209 bool enable_alternative_service_with_different_host; 210 bool enable_alternative_service_with_different_host;
210 NetLog* net_log; 211 NetLog* net_log;
211 }; 212 };
212 213
213 class SpdyURLRequestContext : public URLRequestContext { 214 class SpdyURLRequestContext : public URLRequestContext {
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 GURL default_url_; 561 GURL default_url_;
561 bool dependency_priorities_; 562 bool dependency_priorities_;
562 563
563 // Track a FIFO list of the stream_id of all created requests by priority. 564 // Track a FIFO list of the stream_id of all created requests by priority.
564 std::map<int, std::vector<int>> priority_to_stream_id_list_; 565 std::map<int, std::vector<int>> priority_to_stream_id_list_;
565 }; 566 };
566 567
567 } // namespace net 568 } // namespace net
568 569
569 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_ 570 #endif // NET_SPDY_SPDY_TEST_UTIL_COMMON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698