| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef REMOTING_SIGNALING_CHROMOTING_EVENT_LOG_WRITER_H_ | 5 #ifndef REMOTING_BASE_CHROMOTING_EVENT_LOG_WRITER_H_ |
| 6 #define REMOTING_SIGNALING_CHROMOTING_EVENT_LOG_WRITER_H_ | 6 #define REMOTING_BASE_CHROMOTING_EVENT_LOG_WRITER_H_ |
| 7 | 7 |
| 8 namespace remoting { | 8 namespace remoting { |
| 9 | 9 |
| 10 class ChromotingEvent; | 10 class ChromotingEvent; |
| 11 | 11 |
| 12 class ChromotingEventLogWriter { | 12 class ChromotingEventLogWriter { |
| 13 public: | 13 public: |
| 14 virtual ~ChromotingEventLogWriter() {}; | 14 virtual ~ChromotingEventLogWriter(){}; |
| 15 | 15 |
| 16 virtual void SetAuthToken(const std::string& auth_token) = 0; | 16 virtual void SetAuthToken(const std::string& auth_token) = 0; |
| 17 virtual void SetAuthClosure(const base::Closure& closure) = 0; | 17 virtual void SetAuthClosure(const base::Closure& closure) = 0; |
| 18 virtual void Log(const ChromotingEvent& entry) = 0; | 18 virtual void Log(const ChromotingEvent& entry) = 0; |
| 19 }; | 19 }; |
| 20 | 20 |
| 21 } // namespace remoting | 21 } // namespace remoting |
| 22 | 22 |
| 23 #endif // REMOTING_SIGNALING_CHROMOTING_EVENT_LOG_WRITER_H_ | 23 #endif // REMOTING_BASE_CHROMOTING_EVENT_LOG_WRITER_H_ |
| OLD | NEW |