| Index: remoting/protocol/process_stats_stub.h
|
| diff --git a/remoting/protocol/process_stats_stub.h b/remoting/protocol/process_stats_stub.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b59d7c6e4089306e744048ac196832e64eb8a37e
|
| --- /dev/null
|
| +++ b/remoting/protocol/process_stats_stub.h
|
| @@ -0,0 +1,26 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef REMOTING_PROTOCOL_PROCESS_STATS_STUB_H_
|
| +#define REMOTING_PROTOCOL_PROCESS_STATS_STUB_H_
|
| +
|
| +#include "remoting/proto/process_stats.pb.h"
|
| +
|
| +namespace remoting {
|
| +namespace protocol {
|
| +
|
| +// An interface to receive process statistic data.
|
| +class ProcessStatsStub {
|
| + public:
|
| + ProcessStatsStub() = default;
|
| + virtual ~ProcessStatsStub() = default;
|
| +
|
| + virtual void OnProcessStats(
|
| + const protocol::AggregatedProcessResourceUsage& usage) = 0;
|
| +};
|
| +
|
| +} // namespace protocol
|
| +} // namespace remoting
|
| +
|
| +#endif // REMOTING_PROTOCOL_PROCESS_STATS_STUB_H_
|
|
|