| 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_PROTOCOL_PROCESS_STATS_STUB_H_ | |
| 6 #define REMOTING_PROTOCOL_PROCESS_STATS_STUB_H_ | |
| 7 | |
| 8 #include "remoting/proto/process_stats.pb.h" | |
| 9 | |
| 10 namespace remoting { | |
| 11 namespace protocol { | |
| 12 | |
| 13 // An interface to receive process statistic data. | |
| 14 class ProcessStatsStub { | |
| 15 public: | |
| 16 ProcessStatsStub() = default; | |
| 17 virtual ~ProcessStatsStub() = default; | |
| 18 | |
| 19 virtual void OnProcessStats( | |
| 20 const protocol::AggregatedProcessResourceUsage& usage) = 0; | |
| 21 }; | |
| 22 | |
| 23 } // namespace protocol | |
| 24 } // namespace remoting | |
| 25 | |
| 26 #endif // REMOTING_PROTOCOL_PROCESS_STATS_STUB_H_ | |
| OLD | NEW |