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

Unified Diff: remoting/host/simple_host_process.cc

Issue 7355011: Modify Chromoting logging to hook into base logging. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add timestamp 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
Index: remoting/host/simple_host_process.cc
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc
index e8c1f32eef84446385db2821b566a7b39d4012db..9ecb5234b368aff64e953d0be58362bb86416590 100644
--- a/remoting/host/simple_host_process.cc
+++ b/remoting/host/simple_host_process.cc
@@ -34,7 +34,6 @@
#include "crypto/nss_util.h"
#include "media/base/media.h"
#include "remoting/base/constants.h"
-#include "remoting/base/logger.h"
#include "remoting/base/tracer.h"
#include "remoting/host/capturer_fake.h"
#include "remoting/host/chromoting_host.h"
@@ -176,7 +175,6 @@ class SimpleHost {
// Construct a chromoting host.
scoped_refptr<ChromotingHost> host;
- logger_.reset(new remoting::Logger());
if (fake_) {
remoting::Capturer* capturer =
new remoting::CapturerFake();
@@ -195,10 +193,10 @@ class SimpleHost {
new DesktopEnvironment(&context, capturer, event_executor, curtain,
disconnect_window, continue_window,
local_input_monitor),
- access_verifier.release(), logger_.get());
+ access_verifier.release());
} else {
host = ChromotingHost::Create(&context, config,
- access_verifier.release(), logger_.get());
+ access_verifier.release());
}
host->set_it2me(is_it2me_);
@@ -252,8 +250,6 @@ class SimpleHost {
return FilePath(home_path).Append(kDefaultConfigPath);
}
- scoped_ptr<remoting::Logger> logger_;
-
FilePath config_path_;
bool fake_;
bool is_it2me_;

Powered by Google App Engine
This is Rietveld 408576698