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

Side by Side Diff: media/cast/test/utility/test_util.h

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 5 years 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 unified diff | Download patch
« no previous file with comments | « media/cast/test/utility/tap_proxy.cc ('k') | media/cast/test/utility/udp_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_CAST_TEST_UTILITY_TEST_UTIL_H 5 #ifndef MEDIA_CAST_TEST_UTILITY_TEST_UTIL_H
6 #define MEDIA_CAST_TEST_UTILITY_TEST_UTIL_H 6 #define MEDIA_CAST_TEST_UTILITY_TEST_UTIL_H
7 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 namespace media { 13 namespace media {
12 namespace cast { 14 namespace cast {
13 namespace test { 15 namespace test {
14 16
15 class MeanAndError { 17 class MeanAndError {
16 public: 18 public:
17 MeanAndError() {} 19 MeanAndError() {}
18 explicit MeanAndError(const std::vector<double>& values); 20 explicit MeanAndError(const std::vector<double>& values);
19 std::string AsString() const; 21 std::string AsString() const;
20 22
21 size_t num_values; 23 size_t num_values;
22 double mean; 24 double mean;
23 double std_dev; 25 double std_dev;
24 }; 26 };
25 27
26 } // namespace test 28 } // namespace test
27 } // namespace cast 29 } // namespace cast
28 } // namespace media 30 } // namespace media
29 31
30 #endif // MEDIA_CAST_TEST_UTILITY_TEST_UTIL_H 32 #endif // MEDIA_CAST_TEST_UTILITY_TEST_UTIL_H
OLDNEW
« no previous file with comments | « media/cast/test/utility/tap_proxy.cc ('k') | media/cast/test/utility/udp_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698