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_; |