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

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') | no next file with comments »
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..78119fd9b3b1a6185299c7ef63c1afac8f34044d 100644
--- a/remoting/base/constants.h
+++ b/remoting/base/constants.h
@@ -5,6 +5,8 @@
#ifndef REMOTING_BASE_CONSTANTS_H_
#define REMOTING_BASE_CONSTANTS_H_
+#include "base/time/time.h"
+
namespace remoting {
// Namespace used for chromoting XMPP stanzas.
@@ -22,6 +24,10 @@ extern const char kMimeTypeTextUtf8[];
const int kDefaultDpi = 96;
+// The default interval for processes to send resource usage to network process.
+constexpr base::TimeDelta kDefaultProcessStatsInterval =
+ base::TimeDelta::FromMilliseconds(2000);
+
} // namespace remoting
#endif // REMOTING_BASE_CONSTANTS_H_
« no previous file with comments | « no previous file | remoting/host/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698