Index: remoting/protocol/protocol_mock_objects.h |
diff --git a/remoting/protocol/protocol_mock_objects.h b/remoting/protocol/protocol_mock_objects.h |
index 94a486850bcda310b61b2f53b190e4515dda2812..536a91310909a698572d3d38f4d6ab82caf5fbb0 100644 |
--- a/remoting/protocol/protocol_mock_objects.h |
+++ b/remoting/protocol/protocol_mock_objects.h |
@@ -16,6 +16,10 @@ |
#include "remoting/protocol/video_stub.h" |
#include "testing/gmock/include/gmock/gmock.h" |
+namespace net { |
+class IpEndPoint; |
+} // namespace net |
+ |
namespace remoting { |
namespace protocol { |
@@ -48,6 +52,9 @@ class MockConnectionToClientEventHandler : |
Session::Error error)); |
MOCK_METHOD2(OnSequenceNumberUpdated, void(ConnectionToClient* connection, |
int64 sequence_number)); |
+ MOCK_METHOD3(OnClientIpEndPoint, void(ConnectionToClient* connection, |
+ const std::string& channel_name, |
+ const net::IPEndPoint& end_point)); |
private: |
DISALLOW_COPY_AND_ASSIGN(MockConnectionToClientEventHandler); |