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_ |