Home | History | Annotate | Download | only in spdy

Lines Matching defs:session

134   scoped_refptr<SpdySession> session =
150 EXPECT_EQ(OK, session->InitializeWithSocket(connection.release(), false, OK));
160 // Delete the first session.
161 session = NULL;
163 // Delete the second session.
205 scoped_refptr<SpdySession> session =
224 EXPECT_EQ(OK, session->InitializeWithSocket(connection.release(), false, OK));
228 EXPECT_EQ(OK, session->CreateStream(url,
245 session->SendPrefacePingIfNoneInFlight();
249 EXPECT_EQ(0, session->pings_in_flight());
250 EXPECT_GT(session->next_ping_id(), static_cast<uint32>(1));
251 EXPECT_FALSE(session->trailing_ping_pending());
254 // EXPECT_FALSE(session->check_ping_status_pending());
255 EXPECT_GE(session->received_data_time(), before_ping_time);
259 // Delete the first session.
260 session = NULL;
265 StreamReleaserCallback(SpdySession* session,
267 : session_(session), first_stream_(first_stream) {}
293 // release the stream, which releases its reference (the last) to the session.
339 // Create a session.
341 scoped_refptr<SpdySession> session =
357 EXPECT_EQ(OK, session->InitializeWithSocket(connection.release(), false, OK));
364 session->CreateStream(url,
370 StreamReleaserCallback stream_releaser(session, spdy_stream1);
373 session->CreateStream(url,
380 session = NULL;
425 // Create a session.
427 scoped_refptr<SpdySession> session =
443 EXPECT_EQ(OK, session->InitializeWithSocket(connection.release(), false, OK));
453 session->CreateStream(url,
461 session->CreateStream(url,
471 session->CancelPendingCreateStreams(&spdy_stream2);
527 scoped_refptr<SpdySession> session =
543 EXPECT_EQ(OK, session->InitializeWithSocket(connection.release(), false, OK));
597 // Setup the first session to the first host.
600 scoped_refptr<SpdySession> session =
617 EXPECT_EQ(OK, session->InitializeWithSocket(connection.release(), false, OK));
636 // Create a new session to host 2.
647 spdy_session_pool->Remove(session);
648 session = NULL;