Index: remoting/client/chromoting_stats.h |
diff --git a/remoting/client/chromoting_stats.h b/remoting/client/chromoting_stats.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fcd2ae2921f8621f73d5795b6235e9355ff49c81 |
--- /dev/null |
+++ b/remoting/client/chromoting_stats.h |
@@ -0,0 +1,29 @@ |
+// Copyright (c) 2011 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. |
+ |
+// ChromotingStats defines a bundle of performance counters and statistics |
+// for chromoting. |
+ |
+#ifndef REMOTING_CLIENT_CHROMOTING_STATS_H_ |
+#define REMOTING_CLIENT_CHROMOTING_STATS_H_ |
+ |
+#include "remoting/base/running_average.h" |
+ |
+namespace remoting { |
+ |
+class ChromotingStats { |
+ public: |
+ ChromotingStats(); |
+ |
+ TimedRunningAverage* video_bandwidth() { return &video_bandwidth_; } |
+ |
+ private: |
+ TimedRunningAverage video_bandwidth_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(ChromotingStats); |
+}; |
+ |
+} // namespace remoting |
+ |
+#endif // REMOTING_CLIENT_CHROMOTING_STATS_H_ |