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

Unified Diff: remoting/host/chromoting_host.h

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/chromoting_host.h
diff --git a/remoting/host/chromoting_host.h b/remoting/host/chromoting_host.h
index 45910ed96b4fbc0c611fd55f87b1cffcce440c78..d8ab95e71612de30b4c827f73e7991f0ca01d957 100644
--- a/remoting/host/chromoting_host.h
+++ b/remoting/host/chromoting_host.h
@@ -36,7 +36,6 @@ class Capturer;
class ChromotingHostContext;
class DesktopEnvironment;
class Encoder;
-class Logger;
class MutableHostConfig;
class ScreenRecorder;
@@ -74,13 +73,11 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
// and adds a reference to |config|. It does NOT take ownership of |context|.
static ChromotingHost* Create(ChromotingHostContext* context,
MutableHostConfig* config,
- AccessVerifier* access_verifier,
- Logger* logger);
+ AccessVerifier* access_verifier);
static ChromotingHost* Create(ChromotingHostContext* context,
MutableHostConfig* config,
DesktopEnvironment* environment,
- AccessVerifier* access_verifier,
- Logger* logger);
+ AccessVerifier* access_verifier);
// Asynchronously start the host process.
//
@@ -121,8 +118,6 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
virtual void LocalLoginFailed(
scoped_refptr<protocol::ConnectionToClient> client);
- Logger* logger() { return logger_; }
-
// Callback for ChromotingServer.
void OnNewClientSession(
protocol::Session* session,
@@ -157,8 +152,7 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
ChromotingHost(ChromotingHostContext* context,
MutableHostConfig* config,
DesktopEnvironment* environment,
- AccessVerifier* access_verifier,
- Logger* logger);
+ AccessVerifier* access_verifier);
virtual ~ChromotingHost();
enum State {
@@ -205,9 +199,6 @@ class ChromotingHost : public base::RefCountedThreadSafe<ChromotingHost>,
scoped_ptr<AccessVerifier> access_verifier_;
- // Logger (owned by the HostNPScriptObject).
- Logger* logger_;
-
// The connections to remote clients.
ClientList clients_;

Powered by Google App Engine
This is Rietveld 408576698