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

Unified Diff: trunk/src/remoting/host/client_session_unittest.cc

Issue 151163002: Revert 248045 "Use webrtc::MouseCursorMonitor for cursor shapes" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 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 | « trunk/src/remoting/host/client_session.cc ('k') | trunk/src/remoting/host/desktop_environment.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/remoting/host/client_session_unittest.cc
===================================================================
--- trunk/src/remoting/host/client_session_unittest.cc (revision 248137)
+++ trunk/src/remoting/host/client_session_unittest.cc (working copy)
@@ -83,10 +83,6 @@
// DesktopEnvironment::CreateVideoCapturer().
webrtc::ScreenCapturer* CreateVideoCapturer();
- // Creates a MockMouseCursorMonitor, to mock
- // DesktopEnvironment::CreateMouseCursorMonitor
- webrtc::MouseCursorMonitor* CreateMouseCursorMonitor();
-
// Notifies the client session that the client connection has been
// authenticated and channels have been connected. This effectively enables
// the input pipe line and starts video capturing.
@@ -202,8 +198,6 @@
.Times(AtMost(1));
EXPECT_CALL(*desktop_environment, CreateVideoCapturerPtr())
.WillOnce(Invoke(this, &ClientSessionTest::CreateVideoCapturer));
- EXPECT_CALL(*desktop_environment, CreateMouseCursorMonitorPtr())
- .WillOnce(Invoke(this, &ClientSessionTest::CreateMouseCursorMonitor));
EXPECT_CALL(*desktop_environment, GetCapabilities())
.Times(AtMost(1));
EXPECT_CALL(*desktop_environment, SetCapabilities(_))
@@ -221,10 +215,6 @@
return new ScreenCapturerFake();
}
-webrtc::MouseCursorMonitor* ClientSessionTest::CreateMouseCursorMonitor() {
- return new MockMouseCursorMonitor();
-}
-
void ClientSessionTest::ConnectClientSession() {
client_session_->OnConnectionAuthenticated(client_session_->connection());
client_session_->OnConnectionChannelsConnected(client_session_->connection());
« no previous file with comments | « trunk/src/remoting/host/client_session.cc ('k') | trunk/src/remoting/host/desktop_environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698