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

Unified Diff: remoting/host/chromoting_host_unittest.cc

Issue 9617027: Chromoting: Implemented security attention sequence (SAS) emulation on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 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
« no previous file with comments | « remoting/host/chromoting_host_context_unittest.cc ('k') | remoting/host/chromoting_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host_unittest.cc
diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc
index 185be7138170c339981a3a6c9ccb3c2d018e56b8..f04be7c2a6d5038a29bc64b36bc843ce42a8bf88 100644
--- a/remoting/host/chromoting_host_unittest.cc
+++ b/remoting/host/chromoting_host_unittest.cc
@@ -88,10 +88,12 @@ class ChromotingHostTest : public testing::Test {
EXPECT_CALL(context_, ui_message_loop())
.Times(AnyNumber());
- Capturer* capturer = new CapturerFake();
+ scoped_ptr<Capturer> capturer(new CapturerFake());
event_executor_ = new MockEventExecutor();
- desktop_environment_.reset(
- new DesktopEnvironment(&context_, capturer, event_executor_));
+ desktop_environment_ = DesktopEnvironment::CreateFake(
+ &context_,
+ capturer.Pass(),
+ scoped_ptr<protocol::InputStub>(event_executor_));
host_ = new ChromotingHost(
&context_, &signal_strategy_, desktop_environment_.get(),
« no previous file with comments | « remoting/host/chromoting_host_context_unittest.cc ('k') | remoting/host/chromoting_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698