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

Unified Diff: net/socket/socket_test_util.h

Issue 1129473002: Revert of Add CompleteRead to SequencedSocketData and convert all but 3 tests (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
« no previous file with comments | « net/socket/sequenced_socket_data_unittest.cc ('k') | net/socket/socket_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/socket_test_util.h
diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h
index 03ca94609ef0acad5607acb3dfe3e461d3826721..b4584ad956384b7ac97d934fd46afb0a433d1087 100644
--- a/net/socket/socket_test_util.h
+++ b/net/socket/socket_test_util.h
@@ -506,9 +506,6 @@
bool AllReadDataConsumed() const override;
bool AllWriteDataConsumed() const override;
- bool IsReadPaused();
- void CompleteRead();
-
private:
// Defines the state for the read or write path.
enum IoState {
@@ -516,9 +513,7 @@
PENDING, // An async operation in waiting for another opteration to
// complete.
COMPLETING, // A task has been posted to complet an async operation.
- PAUSED, // IO is paused until CompleteRead() is called.
};
-
void OnReadComplete();
void OnWriteComplete();
« no previous file with comments | « net/socket/sequenced_socket_data_unittest.cc ('k') | net/socket/socket_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698