summaryrefslogtreecommitdiffstats
path: root/jingle
diff options
context:
space:
mode:
authorrch <rch@chromium.org>2015-04-14 11:49:30 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-14 18:50:27 +0000
commit1f082ab377affa3a905a8e00bad5b1ac9aee1303 (patch)
treeade7fd13a19866520ddd01148bf26fd5e26ea17b /jingle
parent1a0752ce463f7641aafaac8b86dbbccb1fbd1910 (diff)
downloadchromium_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.cc2
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;