Home | History | Annotate | Download | only in spdy

Lines Matching refs:list

65   SpdySessionList* list = GetSessionList(host_port_proxy_pair);
66 if (!list) {
79 list = AddSessionList(host_port_proxy_pair);
82 DCHECK(list);
83 if (list->size() && list->size() == g_max_sessions_per_domain) {
87 spdy_session = GetExistingSession(list, net_log);
100 list->push_back(spdy_session);
105 DCHECK_LE(list->size(), g_max_sessions_per_domain);
122 SpdySessionList* list = GetSessionList(host_port_proxy_pair);
123 if (!list)
124 list = AddSessionList(host_port_proxy_pair);
125 DCHECK(list->empty());
126 list->push_back(*spdy_session);
150 SpdySessionList* list = GetSessionList(session->host_port_proxy_pair());
151 DCHECK(list); // We really shouldn't remove if we've already been removed.
152 if (!list)
154 list->remove(session);
159 if (list->empty())
164 ListValue* list = new ListValue();
172 list->Append(session->get()->GetInfoAsValue());
175 return list;
187 SpdySessionList* list,
189 DCHECK(list);
190 DCHECK_LT(0u, list->size());
191 scoped_refptr<SpdySession> spdy_session = list->front();
192 if (list->size() > 1) {
193 list->pop_front(); // Rotate the list.
194 list->push_back(spdy_session);
230 SpdySessionList* list = GetSessionList(alias_pair);
231 if (!list) {
236 scoped_refptr<SpdySession> spdy_session = GetExistingSession(list, net_log);
283 SpdySessionPool::SpdySessionList* list = new SpdySessionList();
284 sessions_[pair] = list;
295 return list;
311 SpdySessionList* list = GetSessionList(pair);
312 if (list) {
313 delete list;
316 DCHECK(false) << "removing orphaned session list";
372 SpdySessionList* list = sessions_.begin()->second;
373 CHECK(list);
374 const scoped_refptr<SpdySession>& session = list->front();
377 // removing the session list if the list is empty.
387 SpdySessionList* list = it->second;
388 CHECK(list);
389 const scoped_refptr<SpdySession>& session = list->front();
395 SpdySessionList* list = old_map.begin()->second;
396 CHECK(list);
397 const scoped_refptr<SpdySession>& session = list->front();
400 list->pop_front();
401 if (list->empty()) {
402 delete list;
414 SpdySessionList* list = map_it->second;
416 CHECK(list);
418 // Assumes there is only 1 element in the list
419 SpdySessionList::iterator session_it = list->begin();