Home
last modified time | relevance | path

Searched refs:SpdySessionKey (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/net/spdy/
Dspdy_session_key.cc11 SpdySessionKey::SpdySessionKey() : privacy_mode_(PRIVACY_MODE_DISABLED) { in SpdySessionKey() function in net::SpdySessionKey
14 SpdySessionKey::SpdySessionKey(const HostPortPair& host_port_pair, in SpdySessionKey() function in net::SpdySessionKey
24 SpdySessionKey::SpdySessionKey(const HostPortProxyPair& host_port_proxy_pair, in SpdySessionKey() function in net::SpdySessionKey
33 SpdySessionKey::~SpdySessionKey() {} in ~SpdySessionKey()
35 bool SpdySessionKey::operator<(const SpdySessionKey& other) const { in operator <()
43 bool SpdySessionKey::Equals(const SpdySessionKey& other) const { in Equals()
Dspdy_session_key.h14 class NET_EXPORT_PRIVATE SpdySessionKey {
16 SpdySessionKey();
17 SpdySessionKey(const HostPortPair& host_port_pair,
22 SpdySessionKey(const HostPortProxyPair& host_port_proxy_pair,
25 ~SpdySessionKey();
28 bool operator<(const SpdySessionKey& other) const;
31 bool Equals(const SpdySessionKey& other) const;
Dspdy_session_pool.h88 const SpdySessionKey& key,
95 base::WeakPtr<SpdySession> FindAvailableSession(const SpdySessionKey& key,
155 typedef std::map<SpdySessionKey, base::WeakPtr<SpdySession> >
157 typedef std::map<IPEndPoint, SpdySessionKey> AliasMap;
164 const SpdySessionKey& NormalizeListKey(const SpdySessionKey& key) const;
168 void MapKeyToAvailableSession(const SpdySessionKey& key,
174 const SpdySessionKey& key);
177 void UnmapKey(const SpdySessionKey& key);
180 void RemoveAliases(const SpdySessionKey& key);
Dspdy_session_pool.cc89 const SpdySessionKey& key, in CreateAvailableSessionFromSocket()
142 const SpdySessionKey& key, in FindAvailableSession()
171 const SpdySessionKey& alias_key = alias_it->second; in FindAvailableSession()
217 const std::set<SpdySessionKey>& aliases = available_session->pooled_aliases(); in MakeSessionUnavailable()
218 for (std::set<SpdySessionKey>::const_iterator it = aliases.begin(); in MakeSessionUnavailable()
269 const SpdySessionKey& key = it->first; in SpdySessionPoolInfoToValue()
270 const SpdySessionKey& session_key = it->second->spdy_session_key(); in SpdySessionPoolInfoToValue()
328 const SpdySessionKey& SpdySessionPool::NormalizeListKey( in NormalizeListKey()
329 const SpdySessionKey& key) const { in NormalizeListKey()
333 static SpdySessionKey* single_domain_key = NULL; in NormalizeListKey()
[all …]
Dspdy_session_pool_unittest.cc61 const SpdySessionKey& key) in SessionOpeningDelegate()
84 const SpdySessionKey key_;
96 SpdySessionKey test_key = in TEST_P()
97 SpdySessionKey( in TEST_P()
159 SpdySessionKey key1(test_host_port_pair1, ProxyServer::Direct(), in TEST_P()
173 SpdySessionKey key2(test_host_port_pair2, ProxyServer::Direct(), in TEST_P()
187 SpdySessionKey key3(test_host_port_pair3, ProxyServer::Direct(), in TEST_P()
267 SpdySessionKey test_key = in TEST_P()
268 SpdySessionKey( in TEST_P()
324 SpdySessionKey key; in RunIPPoolingTest()
[all …]
Dspdy_test_util_common.h40 class SpdySessionKey; variable
245 bool HasSpdySession(SpdySessionPool* pool, const SpdySessionKey& key);
252 const SpdySessionKey& key,
261 const SpdySessionKey& key,
268 const SpdySessionKey& key,
275 const SpdySessionKey& key);
284 const SpdySessionKey& key,
291 void RemoveAliases(const SpdySessionKey& key);
Dhpack_huffman_aggregator_test.cc57 HpackEncoder* ObtainEncoder(const SpdySessionKey& key) { in ObtainEncoder()
115 SpdySessionKey key1(HostPortPair("one.com", 443), ProxyServer::Direct(), in TEST_F()
117 SpdySessionKey key2(HostPortPair("two.com", 443), ProxyServer::Direct(), in TEST_F()
119 SpdySessionKey key3(HostPortPair("three.com", 443), ProxyServer::Direct(), in TEST_F()
Dhpack_huffman_aggregator.h47 typedef std::pair<SpdySessionKey, HpackEncoder*> OriginEncoder;
60 HpackEncoder* ObtainEncoder(const SpdySessionKey& key);
Dspdy_http_stream_unittest.cc92 const SpdySessionKey& key) { in InitSessionDeterministic()
105 const SpdySessionKey& key) { in InitSession()
144 SpdySessionKey key(host_port_pair, ProxyServer::Direct(), in TEST_P()
170 SpdySessionKey key(host_port_pair, ProxyServer::Direct(), in TEST_P()
245 SpdySessionKey key(host_port_pair, ProxyServer::Direct(), in TEST_P()
334 SpdySessionKey key(host_port_pair, ProxyServer::Direct(), in TEST_P()
410 SpdySessionKey key(host_port_pair, ProxyServer::Direct(), in TEST_P()
509 SpdySessionKey key(host_port_pair, ProxyServer::Direct(), in TEST_P()
594 SpdySessionKey key(host_port_pair, ProxyServer::Direct(), in TEST_P()
664 SpdySessionKey key(host_port_pair, ProxyServer::Direct(), in TEST_P()
[all …]
Dspdy_session.h238 SpdySession(const SpdySessionKey& spdy_session_key,
261 const SpdySessionKey& spdy_session_key() const { in spdy_session_key()
483 void AddPooledAlias(const SpdySessionKey& alias_key);
486 const std::set<SpdySessionKey>& pooled_aliases() const { in pooled_aliases()
966 const SpdySessionKey spdy_session_key_;
970 std::set<SpdySessionKey> pooled_aliases_;
Dhpack_huffman_aggregator.cc55 SpdySessionKey(endpoint, proxy, request.privacy_mode)); in AggregateTransactionCharacterCounts()
131 HpackEncoder* HpackHuffmanAggregator::ObtainEncoder(const SpdySessionKey& key) { in ObtainEncoder()
Dspdy_test_util_common.cc513 bool HasSpdySession(SpdySessionPool* pool, const SpdySessionKey& key) { in HasSpdySession()
521 const SpdySessionKey& key, in CreateSpdySessionHelper()
583 const SpdySessionKey& key, in CreateInsecureSpdySession()
591 const SpdySessionKey& key, in TryCreateInsecureSpdySessionExpectingFailure()
601 const SpdySessionKey& key, in CreateSecureSpdySession()
666 const SpdySessionKey& key, in CreateFakeSpdySessionHelper()
685 const SpdySessionKey& key) { in CreateFakeSpdySession()
691 const SpdySessionKey& key, in TryCreateFakeSpdySessionExpectingFailure()
700 void SpdySessionPoolPeer::RemoveAliases(const SpdySessionKey& key) { in RemoveAliases()
Dspdy_websocket_stream_unittest.cc202 spdy_session_key_ = SpdySessionKey(host_port_pair_, in SetUp()
284 SpdySessionKey spdy_session_key_;
Dspdy_session_unittest.cc180 SpdySessionKey key_;
3131 SpdySessionKey key1(HostPortPair("1.com", 80), ProxyServer::Direct(), in TEST_P()
3192 SpdySessionKey key1(HostPortPair("1.com", 80), ProxyServer::Direct(), in TEST_P()
3199 SpdySessionKey key2(HostPortPair("2.com", 80), ProxyServer::Direct(), in TEST_P()
3281 SpdySessionKey key1(HostPortPair(url1.host(), 80), in TEST_P()
3343 SpdySessionKey key_privacy_enabled(host_port_pair, ProxyServer::Direct(), in TEST_P()
3345 SpdySessionKey key_privacy_disabled(host_port_pair, ProxyServer::Direct(), in TEST_P()
/external/chromium_org/net/http/
Dhttp_stream_factory_impl_request.h39 void SetSpdySessionKey(const SpdySessionKey& spdy_session_key);
130 scoped_ptr<const SpdySessionKey> spdy_session_key_;
Dhttp_stream_factory_impl_job.h203 SpdySessionKey GetSpdySessionKey() const;
246 const SpdySessionKey& spdy_session_key,
Dhttp_stream_factory_impl_job.cc267 SpdySessionKey HttpStreamFactoryImpl::Job::GetSpdySessionKey() const { in GetSpdySessionKey()
273 return SpdySessionKey(proxy_info_.proxy_server().host_port_pair(), in GetSpdySessionKey()
277 return SpdySessionKey(origin_, in GetSpdySessionKey()
428 const SpdySessionKey& spdy_session_key, in OnHostResolution()
779 SpdySessionKey spdy_session_key = GetSpdySessionKey(); in DoInitConnection()
879 SpdySessionKey spdy_session_key = GetSpdySessionKey(); in DoInitConnectionComplete()
1094 SpdySessionKey spdy_session_key(origin_, proxy_server, privacy_mode); in DoCreateStream()
1099 spdy_session_key = SpdySessionKey(proxy_server.host_port_pair(), in DoCreateStream()
Dhttp_stream_factory_impl.h68 typedef std::map<SpdySessionKey, RequestSet> SpdySessionRequestMap;
Dhttp_stream_factory_impl_request.cc56 const SpdySessionKey& spdy_session_key) { in SetSpdySessionKey()
58 spdy_session_key_.reset(new SpdySessionKey(spdy_session_key)); in SetSpdySessionKey()
Dhttp_proxy_client_socket_pool.cc210 SpdySessionKey key(params_->destination().host_port_pair(), in DoSSLConnect()
314 SpdySessionKey key(params_->destination().host_port_pair(), in DoSpdyProxyCreateStream()
Dhttp_stream_factory_impl.cc268 const SpdySessionKey& spdy_session_key = spdy_session->spdy_session_key(); in OnNewSpdySessionReady()
Dhttp_stream_factory_impl_unittest.cc533 SpdySessionKey key(host_port_pair, ProxyServer::Direct(), in TEST_P()
644 SpdySessionKey key(host_port_pair, ProxyServer::Direct(), in TEST_P()
/external/chromium_org/net/socket/
Dssl_client_socket_pool_unittest.cc1273 SpdySessionKey key; in TEST_P()
1297 test_hosts[i].key = SpdySessionKey( in TEST_P()
1333 SpdySessionKey key; in TestIPPoolingDisabled()
1358 test_hosts[i].key = SpdySessionKey( in TestIPPoolingDisabled()
/external/chromium_org/net/websockets/
Dwebsocket_job_test.cc292 spdy_session_key_ = SpdySessionKey(host_port_pair_, in MockHttpTransactionFactory()
321 SpdySessionKey spdy_session_key_;
Dwebsocket_job.cc585 const SpdySessionKey key(HostPortPair::FromURL(socket_->url()), in TrySpdyStream()

12