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

Unified Diff: net/spdy/spdy_http_stream_spdy2_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/http/http_stream_parser_unittest.cc ('k') | net/spdy/spdy_http_stream_spdy3_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_spdy2_unittest.cc
diff --git a/net/spdy/spdy_http_stream_spdy2_unittest.cc b/net/spdy/spdy_http_stream_spdy2_unittest.cc
index 58461ab699a8a3795e37d3a672042810b71d87ec..aec278aafeede56e0b1e79719c7a7e0ac95e9f40 100644
--- a/net/spdy/spdy_http_stream_spdy2_unittest.cc
+++ b/net/spdy/spdy_http_stream_spdy2_unittest.cc
@@ -164,7 +164,7 @@ TEST_F(SpdyHttpStreamSpdy2Test, 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));
@@ -259,7 +259,7 @@ TEST_F(SpdyHttpStreamSpdy2Test, 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);
« no previous file with comments | « net/http/http_stream_parser_unittest.cc ('k') | net/spdy/spdy_http_stream_spdy3_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698