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

Unified Diff: remoting/host/ipc_desktop_environment_unittest.cc

Issue 12594009: Converted LocalInputMonitor into a SessionController instance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback. Created 7 years, 9 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/ipc_desktop_environment_unittest.cc
diff --git a/remoting/host/ipc_desktop_environment_unittest.cc b/remoting/host/ipc_desktop_environment_unittest.cc
index d9e033cc986bafc8788859b474b06198d9ec8ae3..cf3a88b685b545cddbdaf03fdbed09012ecfb3dc 100644
--- a/remoting/host/ipc_desktop_environment_unittest.cc
+++ b/remoting/host/ipc_desktop_environment_unittest.cc
@@ -83,6 +83,7 @@ class MockSessionControllerDelegate : public SessionController::Delegate {
MOCK_METHOD0(DisconnectSession, void());
MOCK_METHOD1(OnLocalMouseMoved, void(const SkIPoint&));
+ MOCK_METHOD1(PauseSession, void(bool));
private:
DISALLOW_COPY_AND_ASSIGN(MockSessionControllerDelegate);
@@ -278,6 +279,8 @@ void IpcDesktopEnvironmentTest::SetUp() {
this, &IpcDesktopEnvironmentTest::DeleteDesktopEnvironment));
EXPECT_CALL(session_controller_delegate_, OnLocalMouseMoved(_))
.Times(AnyNumber());
+ EXPECT_CALL(session_controller_delegate_, PauseSession(_))
+ .Times(AnyNumber());
// Create the session controller.
session_controller_ = desktop_environment_->CreateSessionController(

Powered by Google App Engine
This is Rietveld 408576698