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

Unified Diff: remoting/host/host_mock_objects.h

Issue 10920019: [Chromoting] Refactoring DesktopEnvironment and moving screen/audio recorders to ClientSession. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback. 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
Index: remoting/host/host_mock_objects.h
diff --git a/remoting/host/host_mock_objects.h b/remoting/host/host_mock_objects.h
index 0c56b0c350d89db7ce004c3948ff54f38b7bef80..74b364a518f01251b7e27568c5df1ba97b73d7bf 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);

Powered by Google App Engine
This is Rietveld 408576698