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

Unified Diff: net/spdy/spdy_http_stream_spdy3_unittest.cc

Issue 10913179: net: Make UploadDataStream::Init() asynchronous. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: changed argument order Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/spdy/spdy_http_stream_spdy2_unittest.cc ('k') | net/spdy/spdy_network_transaction_spdy2_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_http_stream_spdy3_unittest.cc
diff --git a/net/spdy/spdy_http_stream_spdy3_unittest.cc b/net/spdy/spdy_http_stream_spdy3_unittest.cc
index 91acad090f4ac63089708bda5e428dd2b0932448..bcd02d326aee9828a38d39d4b787a99a9bd4ceb9 100644
--- a/net/spdy/spdy_http_stream_spdy3_unittest.cc
+++ b/net/spdy/spdy_http_stream_spdy3_unittest.cc
@@ -173,7 +173,7 @@ TEST_F(SpdyHttpStreamSpdy3Test, SendChunkedPost) {
scoped_ptr<UploadDataStream> upload_stream(
new UploadDataStream(request.upload_data));
- ASSERT_EQ(OK, upload_stream->Init());
+ ASSERT_EQ(OK, upload_stream->InitSync());
EXPECT_EQ(ERR_IO_PENDING, http_stream.SendRequest(
headers, upload_stream.Pass(), &response, callback.callback()));
EXPECT_TRUE(http_session_->spdy_session_pool()->HasSession(pair));
@@ -268,7 +268,7 @@ TEST_F(SpdyHttpStreamSpdy3Test, DelayedSendChunkedPost) {
scoped_ptr<UploadDataStream> upload_stream(
new UploadDataStream(request.upload_data));
- ASSERT_EQ(OK, upload_stream->Init());
+ ASSERT_EQ(OK, upload_stream->InitSync());
request.upload_data->AppendChunk(kUploadData, kUploadDataSize, false);
@@ -404,7 +404,7 @@ TEST_F(SpdyHttpStreamSpdy3Test, DelayedSendChunkedPostWithWindowUpdate) {
scoped_ptr<UploadDataStream> upload_stream(
new UploadDataStream(request.upload_data));
- ASSERT_EQ(OK, upload_stream->Init());
+ ASSERT_EQ(OK, upload_stream->InitSync());
request.upload_data->AppendChunk(kUploadData, kUploadDataSize, true);
« no previous file with comments | « net/spdy/spdy_http_stream_spdy2_unittest.cc ('k') | net/spdy/spdy_network_transaction_spdy2_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698