OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef REMOTING_SIGNALING_CHROMOTING_EVENT_LOG_WRITER_H_ | |
6 #define REMOTING_SIGNALING_CHROMOTING_EVENT_LOG_WRITER_H_ | |
7 | |
8 namespace remoting { | |
9 | |
10 class ChromotingEvent; | |
11 | |
12 class ChromotingEventLogWriter { | |
13 public: | |
14 virtual ~ChromotingEventLogWriter() {}; | |
15 | |
16 virtual void SetAuthToken(const std::string& auth_token) = 0; | |
17 virtual void SetAuthClosure(const base::Closure& closure) = 0; | |
18 virtual void Log(const ChromotingEvent& entry) = 0; | |
19 }; | |
20 | |
21 } // namespace remoting | |
22 | |
23 #endif // REMOTING_SIGNALING_CHROMOTING_EVENT_LOG_WRITER_H_ | |
OLD | NEW |