OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 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_HOST_STATS_STUB_H_ | |
6 #define REMOTING_HOST_HOST_STATS_STUB_H_ | |
7 | |
8 #include "remoting/base/process_resource_usage.h" | |
9 | |
10 namespace remoting { | |
11 namespace host { | |
12 | |
13 // An interface to receive host process statistic data from HostStats. | |
14 class HostStatsStub { | |
15 public: | |
16 HostStatsStub() = default; | |
17 ~HostStatsStub() = default; | |
Sergey Ulanov
2017/03/27 19:43:20
destructor must be virtual in interfaces
Hzj_jie
2017/03/30 01:09:46
Done.
| |
18 | |
19 virtual void OnHostStats(const ProcessResourceUsage& usage) = 0; | |
20 }; | |
21 | |
22 } // namespace host | |
23 } // namespace remoting | |
24 | |
25 #endif // REMOTING_HOST_HOST_STATS_STUB_H_ | |
OLD | NEW |