Index: remoting/host/plugin/host_script_object.h |
diff --git a/remoting/host/plugin/host_script_object.h b/remoting/host/plugin/host_script_object.h |
index 03d14c32c32540bb39b95a67ab367cd0bba428af..539d92de49a46079fdefafc8f276aa9e4ae4587e 100644 |
--- a/remoting/host/plugin/host_script_object.h |
+++ b/remoting/host/plugin/host_script_object.h |
@@ -70,6 +70,12 @@ class HostNPScriptObject : public HostStatusObserver { |
remoting::protocol::ConnectionToClient* client) OVERRIDE; |
virtual void OnShutdown() OVERRIDE; |
+ // Register/Unregister the log handler. |
+ // These should be called from the plugin init/destroy methods so that they |
+ // are only called once per plugin (not once per instance). |
Wez
2011/08/16 00:05:45
nit: They need to be called once per plugin _proce
garykac
2011/08/16 00:19:40
Done.
|
+ static void RegisterLogger(); |
+ static void UnregisterLogger(); |
+ |
// A Log Message Handler that is called after each LOG message has been |
// processed. This must be of type LogMessageHandlerFunction defined in |
// base/logging.h. |