Index: remoting/host/chromoting_host_unittest.cc |
diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc |
index 9d238fa283f4aa89cc42da571dad905352926d98..22d692a40e656186729f107a094835772f593be7 100644 |
--- a/remoting/host/chromoting_host_unittest.cc |
+++ b/remoting/host/chromoting_host_unittest.cc |
@@ -5,7 +5,6 @@ |
#include "base/bind.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/task.h" |
-#include "remoting/base/logger.h" |
#include "remoting/host/capturer_fake.h" |
#include "remoting/host/chromoting_host.h" |
#include "remoting/host/chromoting_host_context.h" |
@@ -87,8 +86,6 @@ class ChromotingHostTest : public testing::Test { |
EXPECT_CALL(context_, ui_message_loop()) |
.Times(AnyNumber()); |
- logger_.reset(new Logger()); |
- |
context_.SetUITaskPostFunction(base::Bind( |
static_cast<void(MessageLoop::*)( |
const tracked_objects::Location&, Task*)>(&MessageLoop::PostTask), |
@@ -107,7 +104,7 @@ class ChromotingHostTest : public testing::Test { |
MockAccessVerifier* access_verifier = new MockAccessVerifier(); |
host_ = ChromotingHost::Create(&context_, config_, |
- desktop, access_verifier, logger_.get()); |
+ desktop, access_verifier); |
credentials_.set_type(protocol::PASSWORD); |
credentials_.set_username("user"); |
credentials_.set_credential("password"); |
@@ -208,7 +205,6 @@ class ChromotingHostTest : public testing::Test { |
} |
protected: |
- scoped_ptr<Logger> logger_; |
MessageLoop message_loop_; |
MockConnectionToClientEventHandler handler_; |
scoped_refptr<ChromotingHost> host_; |