summaryrefslogtreecommitdiffstats
path: root/remoting/host/host_mock_objects.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/host_mock_objects.h')
-rw-r--r--remoting/host/host_mock_objects.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/remoting/host/host_mock_objects.h b/remoting/host/host_mock_objects.h
index b0264d1..19c05bb 100644
--- a/remoting/host/host_mock_objects.h
+++ b/remoting/host/host_mock_objects.h
@@ -126,11 +126,12 @@ class MockEventExecutor : public EventExecutor {
void(const protocol::ClipboardEvent& event));
MOCK_METHOD1(InjectKeyEvent, void(const protocol::KeyEvent& event));
MOCK_METHOD1(InjectMouseEvent, void(const protocol::MouseEvent& event));
- MOCK_METHOD1(OnSessionStartedPtr,
+ MOCK_METHOD1(StartPtr,
void(protocol::ClipboardStub* client_clipboard));
- MOCK_METHOD0(OnSessionFinished, void());
+ MOCK_METHOD0(StopAndDeleteMock, void());
- void OnSessionStarted(scoped_ptr<protocol::ClipboardStub> client_clipboard);
+ void Start(scoped_ptr<protocol::ClipboardStub> client_clipboard);
+ void StopAndDelete();
private:
DISALLOW_COPY_AND_ASSIGN(MockEventExecutor);