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

Side by Side Diff: net/spdy/spdy_session_pool.h

Issue 10005041: Remove SPDY 2.1 support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove references to deleted flags from chrome/browser Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | no next file » | 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_SPDY_SPDY_SESSION_POOL_H_ 5 #ifndef NET_SPDY_SPDY_SESSION_POOL_H_
6 #define NET_SPDY_SPDY_SESSION_POOL_H_ 6 #define NET_SPDY_SPDY_SESSION_POOL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <list> 10 #include <list>
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 static void enable_ip_pooling(bool value) { g_enable_ip_pooling = value; } 139 static void enable_ip_pooling(bool value) { g_enable_ip_pooling = value; }
140 140
141 // CertDatabase::Observer methods: 141 // CertDatabase::Observer methods:
142 virtual void OnUserCertAdded(const X509Certificate* cert) OVERRIDE; 142 virtual void OnUserCertAdded(const X509Certificate* cert) OVERRIDE;
143 virtual void OnCertTrustChanged(const X509Certificate* cert) OVERRIDE; 143 virtual void OnCertTrustChanged(const X509Certificate* cert) OVERRIDE;
144 144
145 private: 145 private:
146 friend class test_spdy2::SpdySessionPoolPeer; // For testing. 146 friend class test_spdy2::SpdySessionPoolPeer; // For testing.
147 friend class test_spdy3::SpdySessionPoolPeer; // For testing. 147 friend class test_spdy3::SpdySessionPoolPeer; // For testing.
148 friend class SpdyNetworkTransactionSpdy2Test; // For testing. 148 friend class SpdyNetworkTransactionSpdy2Test; // For testing.
149 friend class SpdyNetworkTransactionSpdy21Test; // For testing.
150 friend class SpdyNetworkTransactionSpdy3Test; // For testing. 149 friend class SpdyNetworkTransactionSpdy3Test; // For testing.
151 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test, 150 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test,
152 WindowUpdateOverflow); 151 WindowUpdateOverflow);
153 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy21Test,
154 WindowUpdateOverflow);
155 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test, 152 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test,
156 WindowUpdateOverflow); 153 WindowUpdateOverflow);
157 154
158 typedef std::list<scoped_refptr<SpdySession> > SpdySessionList; 155 typedef std::list<scoped_refptr<SpdySession> > SpdySessionList;
159 typedef std::map<HostPortProxyPair, SpdySessionList*> SpdySessionsMap; 156 typedef std::map<HostPortProxyPair, SpdySessionList*> SpdySessionsMap;
160 typedef std::map<IPEndPoint, HostPortProxyPair> SpdyAliasMap; 157 typedef std::map<IPEndPoint, HostPortProxyPair> SpdyAliasMap;
161 158
162 159
163 scoped_refptr<SpdySession> GetInternal( 160 scoped_refptr<SpdySession> GetInternal(
164 const HostPortProxyPair& host_port_proxy_pair, 161 const HostPortProxyPair& host_port_proxy_pair,
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 212
216 // Defaults to true. May be controlled via SpdySessionPoolPeer for tests. 213 // Defaults to true. May be controlled via SpdySessionPoolPeer for tests.
217 bool verify_domain_authentication_; 214 bool verify_domain_authentication_;
218 215
219 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool); 216 DISALLOW_COPY_AND_ASSIGN(SpdySessionPool);
220 }; 217 };
221 218
222 } // namespace net 219 } // namespace net
223 220
224 #endif // NET_SPDY_SPDY_SESSION_POOL_H_ 221 #endif // NET_SPDY_SPDY_SESSION_POOL_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698