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

Unified Diff: net/socket/socket_test_util.cc

Issue 1126113003: Revert of Add AllReadDataConsumed and AllWriteDataConsumed methods to SocketDataProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/socket/socket_test_util.h ('k') | remoting/base/buffered_socket_writer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/socket_test_util.cc
diff --git a/net/socket/socket_test_util.cc b/net/socket/socket_test_util.cc
index 19e9e5d2a913ffdfdd3cc4f61360e1819dd60990..cf033c245c3e86c8b5c427c2dc061e49172b7a3a 100644
--- a/net/socket/socket_test_util.cc
+++ b/net/socket/socket_test_util.cc
@@ -248,14 +248,6 @@
helper_.Reset();
}
-bool StaticSocketDataProvider::AllReadDataConsumed() const {
- return helper_.at_read_eof();
-}
-
-bool StaticSocketDataProvider::AllWriteDataConsumed() const {
- return helper_.at_write_eof();
-}
-
DynamicSocketDataProvider::DynamicSocketDataProvider()
: short_read_limit_(0),
allow_unconsumed_reads_(false) {
@@ -608,14 +600,6 @@
weak_factory_.InvalidateWeakPtrs();
}
-bool SequencedSocketData::AllReadDataConsumed() const {
- return helper_.at_read_eof();
-}
-
-bool SequencedSocketData::AllWriteDataConsumed() const {
- return helper_.at_write_eof();
-}
-
bool SequencedSocketData::at_read_eof() const {
return helper_.at_read_eof();
}
« no previous file with comments | « net/socket/socket_test_util.h ('k') | remoting/base/buffered_socket_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698