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

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

Issue 455623003: stale-while-revalidate experimental implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Support the bandwidth reduction proxy. Created 6 years, 3 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) 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 transport_security_state(NULL), 65 transport_security_state(NULL),
66 cert_transparency_verifier(NULL), 66 cert_transparency_verifier(NULL),
67 proxy_service(NULL), 67 proxy_service(NULL),
68 ssl_config_service(NULL), 68 ssl_config_service(NULL),
69 http_auth_handler_factory(NULL), 69 http_auth_handler_factory(NULL),
70 network_delegate(NULL), 70 network_delegate(NULL),
71 net_log(NULL), 71 net_log(NULL),
72 host_mapping_rules(NULL), 72 host_mapping_rules(NULL),
73 enable_ssl_connect_job_waiting(false), 73 enable_ssl_connect_job_waiting(false),
74 ignore_certificate_errors(false), 74 ignore_certificate_errors(false),
75 use_stale_while_revalidate(false),
75 testing_fixed_http_port(0), 76 testing_fixed_http_port(0),
76 testing_fixed_https_port(0), 77 testing_fixed_https_port(0),
77 force_spdy_single_domain(false), 78 force_spdy_single_domain(false),
78 enable_spdy_compression(true), 79 enable_spdy_compression(true),
79 enable_spdy_ping_based_connection_checking(true), 80 enable_spdy_ping_based_connection_checking(true),
80 spdy_default_protocol(kProtoUnknown), 81 spdy_default_protocol(kProtoUnknown),
81 spdy_stream_initial_recv_window_size(0), 82 spdy_stream_initial_recv_window_size(0),
82 spdy_initial_max_concurrent_streams(0), 83 spdy_initial_max_concurrent_streams(0),
83 spdy_max_concurrent_streams_limit(0), 84 spdy_max_concurrent_streams_limit(0),
84 time_func(&base::TimeTicks::Now), 85 time_func(&base::TimeTicks::Now),
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 case WEBSOCKET_SOCKET_POOL: 309 case WEBSOCKET_SOCKET_POOL:
309 return websocket_socket_pool_manager_.get(); 310 return websocket_socket_pool_manager_.get();
310 default: 311 default:
311 NOTREACHED(); 312 NOTREACHED();
312 break; 313 break;
313 } 314 }
314 return NULL; 315 return NULL;
315 } 316 }
316 317
317 } // namespace net 318 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698