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

Unified Diff: chrome/browser/media/webrtc/webrtc_browsertest_base.h

Issue 2534633002: Preparation CL for WebRTC performance test using promise-based getStats (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/media/webrtc/webrtc_browsertest_base.h
diff --git a/chrome/browser/media/webrtc/webrtc_browsertest_base.h b/chrome/browser/media/webrtc/webrtc_browsertest_base.h
index 0060ac31c3f44afecf5640b8ccb069414e7833b3..9effb476116deee3e9cc10df9eac74109a8324f3 100644
--- a/chrome/browser/media/webrtc/webrtc_browsertest_base.h
+++ b/chrome/browser/media/webrtc/webrtc_browsertest_base.h
@@ -5,9 +5,13 @@
#ifndef CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_
#define CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_BASE_H_
+#include <memory>
#include <string>
#include "base/macros.h"
+#include "base/memory/ref_counted.h"
+#include "base/values.h"
hbos_chromium 2016/11/30 11:30:56 nits: The include for values.h should be moved to
+#include "chrome/browser/media/webrtc/rtc_stats_dictionary.h"
#include "chrome/test/base/in_process_browser_test.h"
namespace infobars {
@@ -166,6 +170,8 @@ class WebRtcTestBase : public InProcessBrowserTest {
void VerifyStatsGeneratedCallback(content::WebContents* tab) const;
std::vector<std::string> VerifyStatsGeneratedPromise(
content::WebContents* tab) const;
+ scoped_refptr<content::RTCStatsReportDictionary> GetStatsReportDictionary(
+ content::WebContents* tab) const;
std::vector<std::string> GetWhitelistedStatsTypes(
content::WebContents* tab) const;

Powered by Google App Engine
This is Rietveld 408576698