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

Unified Diff: remoting/host/chromoting_host_unittest.cc

Issue 7355011: Modify Chromoting logging to hook into base logging. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years, 5 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.cc ('k') | remoting/host/plugin/host_plugin_logger.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 9b77bfecfeff558ad8f94c7e5af50f02f0ff1234..6fe5db8464db0fe7624e3aa9d02775c48e286e71 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&,
@@ -109,7 +106,7 @@ class ChromotingHostTest : public testing::Test {
host_ = ChromotingHost::Create(&context_, config_,
desktop_environment_.get(),
- access_verifier, logger_.get(), false);
+ access_verifier, false);
credentials_.set_type(protocol::PASSWORD);
credentials_.set_username("user");
credentials_.set_credential("password");
@@ -214,7 +211,6 @@ class ChromotingHostTest : public testing::Test {
}
protected:
- scoped_ptr<Logger> logger_;
MessageLoop message_loop_;
MockConnectionToClientEventHandler handler_;
scoped_ptr<DesktopEnvironment> desktop_environment_;
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/plugin/host_plugin_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698