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

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: Compile fix for ResourcePrefreshPredictor. Created 6 years, 2 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 transport_security_state(NULL), 66 transport_security_state(NULL),
67 cert_transparency_verifier(NULL), 67 cert_transparency_verifier(NULL),
68 proxy_service(NULL), 68 proxy_service(NULL),
69 ssl_config_service(NULL), 69 ssl_config_service(NULL),
70 http_auth_handler_factory(NULL), 70 http_auth_handler_factory(NULL),
71 network_delegate(NULL), 71 network_delegate(NULL),
72 net_log(NULL), 72 net_log(NULL),
73 host_mapping_rules(NULL), 73 host_mapping_rules(NULL),
74 enable_ssl_connect_job_waiting(false), 74 enable_ssl_connect_job_waiting(false),
75 ignore_certificate_errors(false), 75 ignore_certificate_errors(false),
76 use_stale_while_revalidate(false),
76 testing_fixed_http_port(0), 77 testing_fixed_http_port(0),
77 testing_fixed_https_port(0), 78 testing_fixed_https_port(0),
78 enable_tcp_fast_open_for_ssl(false), 79 enable_tcp_fast_open_for_ssl(false),
79 force_spdy_single_domain(false), 80 force_spdy_single_domain(false),
80 enable_spdy_compression(true), 81 enable_spdy_compression(true),
81 enable_spdy_ping_based_connection_checking(true), 82 enable_spdy_ping_based_connection_checking(true),
82 spdy_default_protocol(kProtoUnknown), 83 spdy_default_protocol(kProtoUnknown),
83 spdy_stream_initial_recv_window_size(0), 84 spdy_stream_initial_recv_window_size(0),
84 spdy_initial_max_concurrent_streams(0), 85 spdy_initial_max_concurrent_streams(0),
85 spdy_max_concurrent_streams_limit(0), 86 spdy_max_concurrent_streams_limit(0),
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 case WEBSOCKET_SOCKET_POOL: 312 case WEBSOCKET_SOCKET_POOL:
312 return websocket_socket_pool_manager_.get(); 313 return websocket_socket_pool_manager_.get();
313 default: 314 default:
314 NOTREACHED(); 315 NOTREACHED();
315 break; 316 break;
316 } 317 }
317 return NULL; 318 return NULL;
318 } 319 }
319 320
320 } // namespace net 321 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698