diff options
| author | rch <rch@chromium.org> | 2015-04-14 11:49:30 -0700 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2015-04-14 18:50:27 +0000 |
| commit | 1f082ab377affa3a905a8e00bad5b1ac9aee1303 (patch) | |
| tree | ade7fd13a19866520ddd01148bf26fd5e26ea17b /jingle | |
| parent | 1a0752ce463f7641aafaac8b86dbbccb1fbd1910 (diff) | |
| download | chromium_src-1f082ab377affa3a905a8e00bad5b1ac9aee1303.zip chromium_src-1f082ab377affa3a905a8e00bad5b1ac9aee1303.tar.gz chromium_src-1f082ab377affa3a905a8e00bad5b1ac9aee1303.tar.bz2 | |
Rename SocketDataProvider::GetNextRead() to OnRead()
which makes it parallel to OnWrite(). It also makes it clear that it is
handling the read and not simply returning the next available read.
Review URL: https://codereview.chromium.org/1081713002
Cr-Commit-Position: refs/heads/master@{#325095}
Diffstat (limited to 'jingle')
| -rw-r--r-- | jingle/glue/chrome_async_socket_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jingle/glue/chrome_async_socket_unittest.cc b/jingle/glue/chrome_async_socket_unittest.cc index 4742712..78b07a6 100644 --- a/jingle/glue/chrome_async_socket_unittest.cc +++ b/jingle/glue/chrome_async_socket_unittest.cc @@ -43,7 +43,7 @@ class AsyncSocketDataProvider : public net::SocketDataProvider { // If there's no read, sets the "has pending read" flag. Otherwise, // pops the next read. - net::MockRead GetNextRead() override { + net::MockRead OnRead() override { if (reads_.empty()) { DCHECK(!has_pending_read_); has_pending_read_ = true; |
