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

Unified Diff: content/shell/renderer/test_runner/web_frame_test_proxy.h

Issue 294043015: Move creation of MediaStream renders from MediaStreamImpl to MediaStreamRenderFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review. Created 6 years, 7 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: content/shell/renderer/test_runner/web_frame_test_proxy.h
diff --git a/content/shell/renderer/test_runner/web_frame_test_proxy.h b/content/shell/renderer/test_runner/web_frame_test_proxy.h
index 21d1d5e526659b300a340564f2ca8f7da91da366..563b964fe3fec279b123d5b9b98ed19cb2fb16a4 100644
--- a/content/shell/renderer/test_runner/web_frame_test_proxy.h
+++ b/content/shell/renderer/test_runner/web_frame_test_proxy.h
@@ -10,6 +10,7 @@
#include "content/shell/renderer/test_runner/WebTestDelegate.h"
#include "content/shell/renderer/test_runner/test_runner.h"
#include "content/shell/renderer/test_runner/web_test_proxy.h"
+#include "content/test/test_media_stream_renderer_factory.h"
#include "third_party/WebKit/public/platform/WebString.h"
namespace content {
@@ -270,6 +271,13 @@ class WebFrameTestProxy : public Base {
}
private:
+ virtual scoped_ptr<MediaStreamRendererFactory>
+ CreateRendererFactory() OVERRIDE {
+ scoped_ptr<MediaStreamRendererFactory> factory(
+ new TestMediaStreamRendererFactory());
+ return factory.Pass();
no longer working on chromium 2014/05/27 12:30:36 ditto
perkj_chrome 2014/05/27 13:27:03 Done.
+ }
+
WebTestProxyBase* base_proxy_;
DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy);

Powered by Google App Engine
This is Rietveld 408576698