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

Unified Diff: remoting/client/plugin/chromoting_instance.h

Issue 6621018: Convert Chromoting plugin logging to appear in client UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup comments Created 9 years, 7 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/client/plugin/chromoting_instance.h
diff --git a/remoting/client/plugin/chromoting_instance.h b/remoting/client/plugin/chromoting_instance.h
index c1c68d67f99019f1df53b131decbe2072c2f01fe..93f8932bb41f2451a9fa23c39d24df6c16f013de 100644
--- a/remoting/client/plugin/chromoting_instance.h
+++ b/remoting/client/plugin/chromoting_instance.h
@@ -41,6 +41,7 @@ class ConnectionToHost;
class ChromotingClient;
class ChromotingStats;
class ClientContext;
+class ClientLogger;
class InputHandler;
class JingleThread;
class PepperView;
@@ -85,7 +86,8 @@ class ChromotingInstance : public pp::Instance {
// Called by ChromotingScriptableObject to set scale-to-fit.
void SetScaleToFit(bool scale_to_fit);
- void LogDebugInfo(const std::string& info);
+ void Log(int severity, const char* format, ...);
+ void VLog(int verboselevel, const char* format, ...);
// Return statistics record by ChromotingClient.
// If no connection is currently active then NULL will be returned.
@@ -118,6 +120,8 @@ class ChromotingInstance : public pp::Instance {
// connection.
scoped_refptr<PepperXmppProxy> xmpp_proxy_;
+ ClientLogger* logger_;
dmac 2011/05/13 23:34:10 does this need to be a scoped_ptr? it looks like i
garykac 2011/05/14 01:09:16 Done.
+
// JavaScript interface to control this instance.
// This wraps a ChromotingScriptableObject in a pp::Var.
pp::Var instance_object_;

Powered by Google App Engine
This is Rietveld 408576698