Index: remoting/host/host_mock_objects.h |
diff --git a/remoting/host/host_mock_objects.h b/remoting/host/host_mock_objects.h |
index 7548775a2934eb5545770b005a63d014f8066dc4..8351420ee02b481344aea85a27e59469a2956b6f 100644 |
--- a/remoting/host/host_mock_objects.h |
+++ b/remoting/host/host_mock_objects.h |
@@ -5,6 +5,8 @@ |
#ifndef REMOTING_HOST_HOST_MOCK_OBJECTS_H_ |
#define REMOTING_HOST_HOST_MOCK_OBJECTS_H_ |
+#include <string> |
+ |
#include "remoting/host/capturer.h" |
#include "remoting/host/curtain.h" |
#include "remoting/host/chromoting_host_context.h" |
@@ -16,6 +18,10 @@ |
#include "remoting/host/user_authenticator.h" |
#include "testing/gmock/include/gmock/gmock.h" |
+namespace net { |
+class IpEndPoint; |
Sergey Ulanov
2012/01/25 01:56:48
remove this
Lambros
2012/01/25 19:27:10
Done.
|
+} // namespace net |
+ |
namespace remoting { |
class MockCapturer : public Capturer { |
@@ -103,6 +109,10 @@ class MockClientSessionEventHandler : public ClientSession::EventHandler { |
MOCK_METHOD1(OnSessionFailed, void(ClientSession* client)); |
MOCK_METHOD2(OnSessionSequenceNumber, void(ClientSession* client, |
int64 sequence_number)); |
+ MOCK_METHOD3(OnSessionIpEndPoint, void(ClientSession* client, |
+ const std::string& channel_name, |
+ const net::IPEndPoint& end_point)); |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(MockClientSessionEventHandler); |
}; |