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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.cc

Issue 1543673002: MediaRecorder: make MediaRecorderHandler a MediaStreamObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: content/shell/renderer/layout_test/blink_test_runner.cc
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
index e8f6f10aa9332f4c566c3ced6a43def543ae44c0..b7b4bcc706000a49a575ddbc4f51e8991e4f3724 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -53,6 +53,7 @@
#include "skia/ext/platform_canvas.h"
#include "third_party/WebKit/public/platform/Platform.h"
#include "third_party/WebKit/public/platform/WebCString.h"
+#include "third_party/WebKit/public/platform/WebMediaStream.h"
#include "third_party/WebKit/public/platform/WebPoint.h"
#include "third_party/WebKit/public/platform/WebRect.h"
#include "third_party/WebKit/public/platform/WebSize.h"
@@ -789,6 +790,13 @@ bool BlinkTestRunner::AddMediaStreamAudioSourceAndTrack(
#endif
}
+void BlinkTestRunner::AddMediaStream(blink::WebMediaStream* stream) {
+ DCHECK(stream);
+#if defined(ENABLE_WEBRTC)
+ AddMediaStreamTowebMediaStream(stream);
mcasas 2016/01/08 00:14:12 So just to confirm, at this point I cannot just do
+#endif
+}
+
// RenderViewObserver --------------------------------------------------------
void BlinkTestRunner::DidClearWindowObject(WebLocalFrame* frame) {

Powered by Google App Engine
This is Rietveld 408576698