diff options
Diffstat (limited to 'jingle/glue')
-rw-r--r-- | jingle/glue/chrome_async_socket_unittest.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/jingle/glue/chrome_async_socket_unittest.cc b/jingle/glue/chrome_async_socket_unittest.cc index 78b07a6..a785553 100644 --- a/jingle/glue/chrome_async_socket_unittest.cc +++ b/jingle/glue/chrome_async_socket_unittest.cc @@ -93,6 +93,14 @@ class AsyncSocketDataProvider : public net::SocketDataProvider { writes_.push_back(mock_write); } + bool AllReadDataConsumed() const override { + return reads_.empty(); + } + + bool AllWriteDataConsumed() const override { + return writes_.empty(); + } + private: std::deque<net::MockRead> reads_; bool has_pending_read_; |