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

Unified Diff: remoting/host/process_stats_sender.h

Issue 2950993003: [Chromoting] Use ProcessStatsSender in DaemonProcess (daemon process) (Closed)
Patch Set: Resolve review comments Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/desktop_session_win.cc ('k') | remoting/host/process_stats_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/process_stats_sender.h
diff --git a/remoting/host/process_stats_sender.h b/remoting/host/process_stats_sender.h
index c33af89c6fdbdf24f6a4f18fb6690d4a70750f88..ed9e48fb5d3fc55c371f21244f1975bbd8e9296f 100644
--- a/remoting/host/process_stats_sender.h
+++ b/remoting/host/process_stats_sender.h
@@ -33,11 +33,15 @@ class ProcessStatsSender final {
std::initializer_list<ProcessStatsAgent*> agents);
~ProcessStatsSender();
+
+ base::TimeDelta interval() const;
+
private:
void ReportUsage();
protocol::ProcessStatsStub* const host_stats_stub_;
std::vector<ProcessStatsAgent*> agents_;
+ const base::TimeDelta interval_;
base::RepeatingTimer timer_;
const base::ThreadChecker thread_checker_;
};
« no previous file with comments | « remoting/host/desktop_session_win.cc ('k') | remoting/host/process_stats_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698