Index: tools/battor_agent/battor_agent.h |
diff --git a/tools/battor_agent/battor_agent.h b/tools/battor_agent/battor_agent.h |
index 643c45d386fdac892772663f86bff682bac39c63..37cd9ea1c65ceb4e4d8d78df816fb76f3c153f2b 100644 |
--- a/tools/battor_agent/battor_agent.h |
+++ b/tools/battor_agent/battor_agent.h |
@@ -55,9 +55,9 @@ class BattOrAgent : public BattOrConnection::Listener, |
// BattOrConnection::Listener implementations. |
void OnConnectionOpened(bool success) override; |
void OnBytesSent(bool success) override; |
- void OnBytesRead(bool success, |
- BattOrMessageType type, |
- scoped_ptr<std::vector<char>> bytes) override; |
+ void OnMessageRead(bool success, |
+ BattOrMessageType type, |
+ scoped_ptr<std::vector<char>> bytes) override; |
protected: |
// The connection that knows how to communicate with the BattOr in terms of |