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

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

Issue 2309823005: WIP: Add Firefox interop tests for different formats.
Patch Set: Rebase. Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/media/webrtc/webrtc_browsertest_base.h ('k') | chrome/test/data/webrtc/video_detector.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc/webrtc_browsertest_base.cc
diff --git a/chrome/browser/media/webrtc/webrtc_browsertest_base.cc b/chrome/browser/media/webrtc/webrtc_browsertest_base.cc
index 1d76576bbd0ad7562172c7f5d6b7ed95eda0afe5..a80bc923ecedd55a8812274508754104f5d4eaf2 100644
--- a/chrome/browser/media/webrtc/webrtc_browsertest_base.cc
+++ b/chrome/browser/media/webrtc/webrtc_browsertest_base.cc
@@ -459,6 +459,13 @@ bool WebRtcTestBase::WaitForVideoToPlay(
return is_video_playing;
}
+void WebRtcTestBase::CheckVideoFormat(content::WebContents* tab_contents,
+ std::string const& format) const {
+ std::string javascript =
+ base::StringPrintf("checkVideoFormat('%s')", format.c_str());
+ EXPECT_EQ("ok-correct-format", ExecuteJavascript(javascript, tab_contents));
+}
+
std::string WebRtcTestBase::GetStreamSize(
content::WebContents* tab_contents,
const std::string& video_element) const {
« no previous file with comments | « chrome/browser/media/webrtc/webrtc_browsertest_base.h ('k') | chrome/test/data/webrtc/video_detector.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698