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_CLIENT_PLUGIN_PEPPER_CLIENT_LOGGER_H_ | |
6 #define REMOTING_CLIENT_PLUGIN_PEPPER_CLIENT_LOGGER_H_ | |
7 | |
8 #include "remoting/base/logger.h" | |
9 | |
10 #include "base/task.h" | |
11 | |
12 class MessageLoop; | |
13 | |
14 namespace remoting { | |
15 | |
16 class ChromotingInstance; | |
17 | |
18 class PepperClientLogger : public Logger { | |
19 public: | |
20 explicit PepperClientLogger(ChromotingInstance* instance); | |
21 virtual ~PepperClientLogger(); | |
22 | |
23 virtual void LogToUI(const std::string& message); | |
24 | |
25 private: | |
26 ChromotingInstance* instance_; | |
27 | |
28 DISALLOW_COPY_AND_ASSIGN(PepperClientLogger); | |
29 }; | |
30 | |
31 } // namespace remoting | |
32 | |
33 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_CLIENT_LOGGER_H_ | |
OLD | NEW |