| Index: net/socket/socket_test_util.h
|
| diff --git a/net/socket/socket_test_util.h b/net/socket/socket_test_util.h
|
| index 1048c964751cf8ec02cf49f9a641b0b4b4ff5f2c..410512df8095081d054e2b50708faa50eef05a98 100644
|
| --- a/net/socket/socket_test_util.h
|
| +++ b/net/socket/socket_test_util.h
|
| @@ -512,6 +512,9 @@ class SequencedSocketData : public SocketDataProvider {
|
| // Returns true if all data has been written.
|
| bool at_write_eof() const;
|
|
|
| + bool IsReadPaused();
|
| + void CompleteRead();
|
| +
|
| private:
|
| // Defines the state for the read or write path.
|
| enum IoState {
|
| @@ -519,7 +522,9 @@ class SequencedSocketData : public SocketDataProvider {
|
| 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();
|
|
|
|
|