replace OVERRIDE and FINAL with override and final in ash/
[chromium-blink-merge.git] / chrome / browser / media / webrtc_browsertest_perf.h
blob19934f6832b1806f5cc1bf40c687e2418cf387bd
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_BROWSERTEST_PERF_H_
6 #define CHROME_BROWSER_MEDIA_WEBRTC_BROWSERTEST_PERF_H_
8 namespace base {
9 class DictionaryValue;
12 namespace test {
14 // These functions takes parsed data (on one peer connection) from the
15 // peerConnectionDataStore object that is backing webrtc-internals and prints
16 // 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
18 // dashboard and thereby track it for regressions.
20 // These functions expect to run under googletest and will use EXPECT_ and
21 // ASSERT_ macros to signal failure.
22 void PrintBweForVideoMetrics(const base::DictionaryValue& pc_dict);
23 void PrintMetricsForAllStreams(const base::DictionaryValue& pc_dict);
25 } // namespace test
27 #endif // CHROME_BROWSER_MEDIA_WEBRTC_BROWSERTEST_PERF_H_