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

Side by Side Diff: net/http/http_network_session.h

Issue 1547273003: Set trusted SPDY proxy dynamically on per-profile basis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added net/base/test_proxy_delegate.{h,cc} Created 4 years, 10 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
« no previous file with comments | « net/base/test_proxy_delegate.cc ('k') | net/http/http_network_session.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) 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_HTTP_HTTP_NETWORK_SESSION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_
6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // Use SPDY ping frames to test for connection health after idle. 91 // Use SPDY ping frames to test for connection health after idle.
92 bool enable_spdy_ping_based_connection_checking; 92 bool enable_spdy_ping_based_connection_checking;
93 NextProto spdy_default_protocol; 93 NextProto spdy_default_protocol;
94 bool enable_spdy31; 94 bool enable_spdy31;
95 bool enable_http2; 95 bool enable_http2;
96 size_t spdy_session_max_recv_window_size; 96 size_t spdy_session_max_recv_window_size;
97 size_t spdy_stream_max_recv_window_size; 97 size_t spdy_stream_max_recv_window_size;
98 size_t spdy_initial_max_concurrent_streams; 98 size_t spdy_initial_max_concurrent_streams;
99 // Source of time for SPDY connections. 99 // Source of time for SPDY connections.
100 SpdySessionPool::TimeFunc time_func; 100 SpdySessionPool::TimeFunc time_func;
101 // This SPDY proxy is allowed to push resources from origins that are
102 // different from those of their associated streams.
103 std::string trusted_spdy_proxy;
104 // URLs to exclude from forced SPDY. 101 // URLs to exclude from forced SPDY.
105 std::set<HostPortPair> forced_spdy_exclusions; 102 std::set<HostPortPair> forced_spdy_exclusions;
106 // Whether to parse Alt-Svc headers. 103 // Whether to parse Alt-Svc headers.
107 bool parse_alternative_services; 104 bool parse_alternative_services;
108 // Whether to enable Alt-Svc entries with hostname different than that of 105 // Whether to enable Alt-Svc entries with hostname different than that of
109 // the origin. 106 // the origin.
110 bool enable_alternative_service_with_different_host; 107 bool enable_alternative_service_with_different_host;
111 // Only honor alternative service entries which have a higher probability 108 // Only honor alternative service entries which have a higher probability
112 // than this value. 109 // than this value.
113 double alternative_service_probability_threshold; 110 double alternative_service_probability_threshold;
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 300
304 NextProtoVector next_protos_; 301 NextProtoVector next_protos_;
305 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 302 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
306 303
307 Params params_; 304 Params params_;
308 }; 305 };
309 306
310 } // namespace net 307 } // namespace net
311 308
312 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 309 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « net/base/test_proxy_delegate.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698