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

Unified Diff: media/cast/test/utility/test_util.h

Issue 308713005: Cast: Synthetic benchmark tool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge + minor fix Created 6 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 | « media/cast/test/fake_single_thread_task_runner.cc ('k') | media/cast/test/utility/test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/utility/test_util.h
diff --git a/media/cast/test/utility/test_util.h b/media/cast/test/utility/test_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..6420f8c71ac0cd098f8fb8077faf42e256b1a86c
--- /dev/null
+++ b/media/cast/test/utility/test_util.h
@@ -0,0 +1,30 @@
+// Copyright 2014 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.
+
+#ifndef MEDIA_CAST_TEST_UTILITY_TEST_UTIL_H
+#define MEDIA_CAST_TEST_UTILITY_TEST_UTIL_H
+
+#include <string>
+#include <vector>
+
+namespace media {
+namespace cast {
+namespace test {
+
+class MeanAndError {
+ public:
+ MeanAndError() {}
+ explicit MeanAndError(const std::vector<double>& values);
+ std::string AsString() const;
+
+ size_t num_values;
+ double mean;
+ double std_dev;
+};
+
+} // namespace test
+} // namespace cast
+} // namespace media
+
+#endif // MEDIA_CAST_TEST_UTILITY_TEST_UTIL_H
« no previous file with comments | « media/cast/test/fake_single_thread_task_runner.cc ('k') | media/cast/test/utility/test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698