Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: remoting/host/host_stats_stub.h

Issue 2775983003: [Chromoting] Retrieve process resource usage (ProcessStats) and its tests (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698