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

Unified Diff: net/quic/quic_http_stream_test.cc

Issue 1114383003: Add AllReadDataConsumed and AllWriteDataConsumed methods to SocketDataProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
Index: net/quic/quic_http_stream_test.cc
diff --git a/net/quic/quic_http_stream_test.cc b/net/quic/quic_http_stream_test.cc
index 74979b32b10e95d03a053d9b33205a674e0ca512..c3bcf256cd93f3c825131e8cb7835c4dc24cd475 100644
--- a/net/quic/quic_http_stream_test.cc
+++ b/net/quic/quic_http_stream_test.cc
@@ -162,7 +162,8 @@ class QuicHttpStreamTest : public ::testing::TestWithParam<QuicVersion> {
}
bool AtEof() {
- return socket_data_->at_read_eof() && socket_data_->at_write_eof();
+ return socket_data_->AllReadDataConsumed() &&
+ socket_data_->AllWriteDataConsumed();
}
void ProcessPacket(scoped_ptr<QuicEncryptedPacket> packet) {

Powered by Google App Engine
This is Rietveld 408576698