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

Side by Side Diff: trunk/src/chrome/browser/media/webrtc_browsertest_perf.h

Issue 217553002: Revert 260213 "Relanding Switched main WebRTC browser tests to u..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_BROWSER_MEDIA_WEBRTC_BROWSERTEST_PERF_H_ 5 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_BROWSERTEST_PERF_H_
6 #define CHROME_BROWSER_MEDIA_WEBRTC_BROWSERTEST_PERF_H_ 6 #define CHROME_BROWSER_MEDIA_WEBRTC_BROWSERTEST_PERF_H_
7 7
8 namespace base { 8 namespace base {
9 class DictionaryValue; 9 class DictionaryValue;
10 } 10 }
11 11
12 namespace test {
13
14 // These functions takes parsed data (on one peer connection) from the 12 // These functions takes parsed data (on one peer connection) from the
15 // peerConnectionDataStore object that is backing webrtc-internals and prints 13 // peerConnectionDataStore object that is backing webrtc-internals and prints
16 // metrics they consider interesting using testing/perf/perf_test.h primitives. 14 // metrics they consider interesting using testing/perf/perf_test.h primitives.
17 // The idea is to put as many webrtc-related metrics as possible into the 15 // The idea is to put as many webrtc-related metrics as possible into the
18 // dashboard and thereby track it for regressions. 16 // dashboard and thereby track it for regressions.
19 // 17 //
20 // These functions expect to run under googletest and will use EXPECT_ and 18 // These functions expect to run under googletest and will use EXPECT_ and
21 // ASSERT_ macros to signal failure. 19 // ASSERT_ macros to signal failure.
22 void PrintBweForVideoMetrics(const base::DictionaryValue& pc_dict); 20 void PrintBweForVideoMetrics(const base::DictionaryValue& pc_dict);
23 void PrintMetricsForAllStreams(const base::DictionaryValue& pc_dict); 21 void PrintMetricsForAllStreams(const base::DictionaryValue& pc_dict);
24 22
25 } // namespace test
26
27 #endif // CHROME_BROWSER_MEDIA_WEBRTC_BROWSERTEST_PERF_H_ 23 #endif // CHROME_BROWSER_MEDIA_WEBRTC_BROWSERTEST_PERF_H_
OLDNEW
« no previous file with comments | « trunk/src/chrome/browser/media/webrtc_browsertest_common.cc ('k') | trunk/src/chrome/browser/media/webrtc_browsertest_perf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698