This sets up API to release OutputSurface from LTHClient.
[chromium-blink-merge.git] / media / cast / test / utility / test_util.h
blob6420f8c71ac0cd098f8fb8077faf42e256b1a86c
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef MEDIA_CAST_TEST_UTILITY_TEST_UTIL_H
6 #define MEDIA_CAST_TEST_UTILITY_TEST_UTIL_H
8 #include <string>
9 #include <vector>
11 namespace media {
12 namespace cast {
13 namespace test {
15 class MeanAndError {
16 public:
17 MeanAndError() {}
18 explicit MeanAndError(const std::vector<double>& values);
19 std::string AsString() const;
21 size_t num_values;
22 double mean;
23 double std_dev;
26 } // namespace test
27 } // namespace cast
28 } // namespace media
30 #endif // MEDIA_CAST_TEST_UTILITY_TEST_UTIL_H