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

Unified Diff: remoting/base/constants.h

Issue 2933203002: [Chromoting] Use ProcessStatsSender in DesktopSessionAgent (desktop 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 | « no previous file | remoting/host/BUILD.gn » ('j') | remoting/host/desktop_session_agent.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/constants.h
diff --git a/remoting/base/constants.h b/remoting/base/constants.h
index c056e782a67363f8f49533c4c4f560514d4fb206..e50528f796fd03501dd0f9a79eb33c5bbc858e86 100644
--- a/remoting/base/constants.h
+++ b/remoting/base/constants.h
@@ -22,6 +22,10 @@ extern const char kMimeTypeTextUtf8[];
const int kDefaultDpi = 96;
+// The default interval for processes to send resource usage to network process.
+// This value is consistent with the update interval of Windows task manager.
joedow 2017/06/16 22:23:16 You might remove the second line, it is pertinent
Hzj_jie 2017/06/17 00:33:38 It answers your question in the last iteration: wh
+const int kDefaultProcessStatsIntervalMs = 2000;
+
} // namespace remoting
#endif // REMOTING_BASE_CONSTANTS_H_
« no previous file with comments | « no previous file | remoting/host/BUILD.gn » ('j') | remoting/host/desktop_session_agent.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698