| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef REMOTING_HOST_PLUGIN_HOST_PLUGIN_LOGGER_H_ | |
| 6 #define REMOTING_HOST_PLUGIN_HOST_PLUGIN_LOGGER_H_ | |
| 7 | |
| 8 #include "remoting/base/logger.h" | |
| 9 | |
| 10 namespace remoting { | |
| 11 | |
| 12 class HostNPScriptObject; | |
| 13 | |
| 14 class HostPluginLogger : public Logger { | |
| 15 public: | |
| 16 explicit HostPluginLogger(HostNPScriptObject* scriptable); | |
| 17 virtual ~HostPluginLogger(); | |
| 18 | |
| 19 virtual void LogToUI(const std::string& message); | |
| 20 | |
| 21 private: | |
| 22 HostNPScriptObject* scriptable_object_; | |
| 23 | |
| 24 DISALLOW_COPY_AND_ASSIGN(HostPluginLogger); | |
| 25 }; | |
| 26 | |
| 27 } // namespace remoting | |
| 28 | |
| 29 #endif // REMOTING_HOST_PLUGIN_HOST_PLUGIN_LOGGER_H_ | |
| OLD | NEW |