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

Unified Diff: content/browser/renderer_host/media/media_stream_manager.h

Issue 2535043003: Fix MediaDevices* tests dependency on BrowserThread globals after ~BrowserThreadImpl(). (Closed)
Patch Set: +comment Created 4 years, 1 month 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: content/browser/renderer_host/media/media_stream_manager.h
diff --git a/content/browser/renderer_host/media/media_stream_manager.h b/content/browser/renderer_host/media/media_stream_manager.h
index 60d60b6e0450c94ca00554843231a1809bfff209..8747539857459c586e05796386bea7f8223dc1c1 100644
--- a/content/browser/renderer_host/media/media_stream_manager.h
+++ b/content/browser/renderer_host/media/media_stream_manager.h
@@ -249,6 +249,10 @@ class CONTENT_EXPORT MediaStreamManager
void SetGenerateStreamCallbackForTesting(
GenerateStreamTestCallback test_callback);
+#if defined(OS_WIN)
+ void FlushVideoCaptureThreadForTesting();
+#endif
+
private:
// Contains all data needed to keep track of requests.
class DeviceRequest;

Powered by Google App Engine
This is Rietveld 408576698