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

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

Issue 2753543010: WebRTC: Use the MediaStream Recording API for the audio_quality_browsertest. (Closed)
Patch Set: Addressed comments. Created 3 years, 9 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
Index: chrome/browser/media/webrtc/webrtc_browsertest_common.h
diff --git a/chrome/browser/media/webrtc/webrtc_browsertest_common.h b/chrome/browser/media/webrtc/webrtc_browsertest_common.h
index cd3ecef1f4c34b33253057b6c1d674988f64aa3d..13e2e668f58998817b6d5ef6b06c4ba35b7b9323 100644
--- a/chrome/browser/media/webrtc/webrtc_browsertest_common.h
+++ b/chrome/browser/media/webrtc/webrtc_browsertest_common.h
@@ -62,6 +62,12 @@ bool PollingWaitUntil(const std::string& javascript,
content::WebContents* tab_contents,
int poll_interval_msec);
+// Same as above but we assume the message is a boolean type, thus we wait until
+// executing |javascript| sends a 'true' message.
+bool PollingWaitUntil(const std::string& javascript,
+ content::WebContents* tab_contents,
+ int poll_interval_msec);
+
} // namespace test
#endif // CHROME_BROWSER_MEDIA_WEBRTC_WEBRTC_BROWSERTEST_COMMON_H_

Powered by Google App Engine
This is Rietveld 408576698