Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: remoting/host/host_mock_objects.h

Issue 10915206: [Chromoting] Refactoring DesktopEnvironment and moving screen/audio recorders to ClientSession. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/event_executor_win.cc ('k') | remoting/host/host_mock_objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_mock_objects.h
diff --git a/remoting/host/host_mock_objects.h b/remoting/host/host_mock_objects.h
index b0264d1e83d5fa912fbbf2ee83353c78aeb76ef9..19c05bb408d5fb4d25884566ae7dc0d4d94713b0 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);
« no previous file with comments | « remoting/host/event_executor_win.cc ('k') | remoting/host/host_mock_objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698