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

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

Issue 8857002: net: split the SSL session cache between incognito and normal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/logging.h" 10 #include "base/logging.h"
(...skipping 25 matching lines...) Expand all
36 params.net_log, 36 params.net_log,
37 params.client_socket_factory ? 37 params.client_socket_factory ?
38 params.client_socket_factory : 38 params.client_socket_factory :
39 ClientSocketFactory::GetDefaultFactory(), 39 ClientSocketFactory::GetDefaultFactory(),
40 params.host_resolver, 40 params.host_resolver,
41 params.cert_verifier, 41 params.cert_verifier,
42 params.origin_bound_cert_service, 42 params.origin_bound_cert_service,
43 params.transport_security_state, 43 params.transport_security_state,
44 params.dns_cert_checker, 44 params.dns_cert_checker,
45 params.ssl_host_info_factory, 45 params.ssl_host_info_factory,
46 params.ssl_session_cache_shard,
46 params.proxy_service, 47 params.proxy_service,
47 params.ssl_config_service)), 48 params.ssl_config_service)),
48 spdy_session_pool_(params.host_resolver, 49 spdy_session_pool_(params.host_resolver,
49 params.ssl_config_service, 50 params.ssl_config_service,
50 params.http_server_properties), 51 params.http_server_properties),
51 ALLOW_THIS_IN_INITIALIZER_LIST(http_stream_factory_( 52 ALLOW_THIS_IN_INITIALIZER_LIST(http_stream_factory_(
52 new HttpStreamFactoryImpl(this))) { 53 new HttpStreamFactoryImpl(this))) {
53 DCHECK(proxy_service_); 54 DCHECK(proxy_service_);
54 DCHECK(ssl_config_service_); 55 DCHECK(ssl_config_service_);
55 CHECK(http_server_properties_); 56 CHECK(http_server_properties_);
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 socket_pool_manager_->FlushSocketPools(); 99 socket_pool_manager_->FlushSocketPools();
99 spdy_session_pool_.CloseCurrentSessions(); 100 spdy_session_pool_.CloseCurrentSessions();
100 } 101 }
101 102
102 void HttpNetworkSession::CloseIdleConnections() { 103 void HttpNetworkSession::CloseIdleConnections() {
103 socket_pool_manager_->CloseIdleSockets(); 104 socket_pool_manager_->CloseIdleSockets();
104 spdy_session_pool_.CloseIdleSessions(); 105 spdy_session_pool_.CloseIdleSessions();
105 } 106 }
106 107
107 } // namespace net 108 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698