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

Unified Diff: net/spdy/spdy_network_transaction_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/spdy/spdy_http_stream_spdy3_unittest.cc ('k') | net/spdy/spdy_network_transaction_spdy3_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_network_transaction_spdy2_unittest.cc
diff --git a/net/spdy/spdy_network_transaction_spdy2_unittest.cc b/net/spdy/spdy_network_transaction_spdy2_unittest.cc
index b3afbf97eb36320f62ffe54ba25d95a48528a59c..8710a38c193c7004c22d8f66a55017e14b01ac1d 100644
--- a/net/spdy/spdy_network_transaction_spdy2_unittest.cc
+++ b/net/spdy/spdy_network_transaction_spdy2_unittest.cc
@@ -1655,7 +1655,7 @@ TEST_P(SpdyNetworkTransactionSpdy2Test, EmptyPost) {
const uint64 kContentLength = 0;
scoped_ptr<UploadDataStream> stream(
new UploadDataStream(request.upload_data));
- ASSERT_EQ(OK, stream->Init());
+ ASSERT_EQ(OK, stream->InitSync());
ASSERT_EQ(kContentLength, stream->size());
scoped_ptr<SpdyFrame> req(ConstructSpdyPost(kContentLength, NULL, 0));
@@ -1700,7 +1700,7 @@ TEST_P(SpdyNetworkTransactionSpdy2Test, PostWithEarlySynReply) {
const uint64 kContentLength = sizeof(upload);
scoped_ptr<UploadDataStream> stream(
new UploadDataStream(request.upload_data));
- ASSERT_EQ(OK, stream->Init());
+ ASSERT_EQ(OK, stream->InitSync());
ASSERT_EQ(kContentLength, stream->size());
scoped_ptr<SpdyFrame> stream_reply(ConstructSpdyPostSynReply(NULL, 0));
scoped_ptr<SpdyFrame> stream_body(ConstructSpdyBodyFrame(1, true));
« no previous file with comments | « net/spdy/spdy_http_stream_spdy3_unittest.cc ('k') | net/spdy/spdy_network_transaction_spdy3_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698