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

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

Issue 1431723002: Add brotli content-encoding filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added BrotliSlowRead to u_r_j_unittest 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
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 #include "net/http/http_network_session.h" 5 #include "net/http/http_network_session.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/debug/stack_trace.h" 10 #include "base/debug/stack_trace.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 enable_spdy_compression(true), 87 enable_spdy_compression(true),
88 enable_spdy_ping_based_connection_checking(true), 88 enable_spdy_ping_based_connection_checking(true),
89 spdy_default_protocol(kProtoUnknown), 89 spdy_default_protocol(kProtoUnknown),
90 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize), 90 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize),
91 spdy_stream_max_recv_window_size(kSpdyStreamMaxRecvWindowSize), 91 spdy_stream_max_recv_window_size(kSpdyStreamMaxRecvWindowSize),
92 spdy_initial_max_concurrent_streams(0), 92 spdy_initial_max_concurrent_streams(0),
93 time_func(&base::TimeTicks::Now), 93 time_func(&base::TimeTicks::Now),
94 use_alternative_services(false), 94 use_alternative_services(false),
95 alternative_service_probability_threshold(1), 95 alternative_service_probability_threshold(1),
96 enable_npn(true), 96 enable_npn(true),
97 enable_brotli(false),
97 enable_quic(false), 98 enable_quic(false),
98 enable_quic_for_proxies(false), 99 enable_quic_for_proxies(false),
99 enable_quic_port_selection(true), 100 enable_quic_port_selection(true),
100 quic_always_require_handshake_confirmation(false), 101 quic_always_require_handshake_confirmation(false),
101 quic_disable_connection_pooling(false), 102 quic_disable_connection_pooling(false),
102 quic_load_server_info_timeout_srtt_multiplier(0.25f), 103 quic_load_server_info_timeout_srtt_multiplier(0.25f),
103 quic_enable_connection_racing(false), 104 quic_enable_connection_racing(false),
104 quic_enable_non_blocking_io(false), 105 quic_enable_non_blocking_io(false),
105 quic_disable_disk_cache(false), 106 quic_disable_disk_cache(false),
106 quic_prefer_aes(false), 107 quic_prefer_aes(false),
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 case WEBSOCKET_SOCKET_POOL: 356 case WEBSOCKET_SOCKET_POOL:
356 return websocket_socket_pool_manager_.get(); 357 return websocket_socket_pool_manager_.get();
357 default: 358 default:
358 NOTREACHED(); 359 NOTREACHED();
359 break; 360 break;
360 } 361 }
361 return NULL; 362 return NULL;
362 } 363 }
363 364
364 } // namespace net 365 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698