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

Unified Diff: remoting/host/screen_recorder_unittest.cc

Issue 10911248: Revert 156297 - [Chromoting] Refactoring DesktopEnvironment and moving screen/audio recorders to Cl… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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/remoting_me2me_host.cc ('k') | remoting/host/session_event_executor_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/screen_recorder_unittest.cc
===================================================================
--- remoting/host/screen_recorder_unittest.cc (revision 156297)
+++ remoting/host/screen_recorder_unittest.cc (working copy)
@@ -100,7 +100,8 @@
EXPECT_CALL(*session_, SetEventHandler(_));
EXPECT_CALL(*session_, Close())
.Times(AnyNumber());
- connection_.reset(new MockConnectionToClient(session_, &host_stub_));
+ connection_.reset(new MockConnectionToClient(
+ session_, &host_stub_, &event_executor_));
connection_->SetEventHandler(&handler_);
record_ = new ScreenRecorder(
@@ -121,6 +122,7 @@
MockConnectionToClientEventHandler handler_;
MockHostStub host_stub_;
+ MockEventExecutor event_executor_;
MockSession* session_; // Owned by |connection_|.
scoped_ptr<MockConnectionToClient> connection_;
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/session_event_executor_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698