diff options
author | rch <rch@chromium.org> | 2015-05-07 20:11:30 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-08 03:12:36 +0000 |
commit | d833a674a5e4f3b4e47f229b3d5411a8d509c2c0 (patch) | |
tree | 9f25272e9a0c3748ec69b8a89aa834e1a11c6e19 /remoting/base | |
parent | be5570d5056159cf995c2c9be4ac11a228276c0f (diff) | |
download | chromium_src-d833a674a5e4f3b4e47f229b3d5411a8d509c2c0.zip chromium_src-d833a674a5e4f3b4e47f229b3d5411a8d509c2c0.tar.gz chromium_src-d833a674a5e4f3b4e47f229b3d5411a8d509c2c0.tar.bz2 |
Add AllReadDataConsumed and AllWriteDataConsumed methods to SocketDataProvider
so that all provider subclasses can have their state verified.
Committed: https://crrev.com/bce10d97d6fc5233071427cf622aaad7abde9e19
Cr-Commit-Position: refs/heads/master@{#328154}
Committed: https://crrev.com/269875cf0d23881a7ad119bae730ff54fdd4dd0b
Cr-Commit-Position: refs/heads/master@{#328351}
Review URL: https://codereview.chromium.org/1114383003
Cr-Commit-Position: refs/heads/master@{#328909}
Diffstat (limited to 'remoting/base')
-rw-r--r-- | remoting/base/buffered_socket_writer_unittest.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/remoting/base/buffered_socket_writer_unittest.cc b/remoting/base/buffered_socket_writer_unittest.cc index 0c74044..07bb2ec 100644 --- a/remoting/base/buffered_socket_writer_unittest.cc +++ b/remoting/base/buffered_socket_writer_unittest.cc @@ -45,6 +45,14 @@ class SocketDataProvider: public net::SocketDataProvider { size); } + bool AllReadDataConsumed() const override { + return true; + } + + bool AllWriteDataConsumed() const override { + return true; + } + void Reset() override {} std::string written_data() { return written_data_; } |