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

Unified Diff: content/test/test_media_stream_client.h

Issue 294043015: Move creation of MediaStream renders from MediaStreamImpl to MediaStreamRenderFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed commments. Fixed build when enable_webrtc = 0 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
« no previous file with comments | « content/test/layouttest_support.cc ('k') | content/test/test_media_stream_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_media_stream_client.h
diff --git a/content/test/test_media_stream_client.h b/content/test/test_media_stream_client.h
deleted file mode 100644
index 9f1e6d56b4aec3de6dd6e82f6b7612c9b1b96486..0000000000000000000000000000000000000000
--- a/content/test/test_media_stream_client.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_TEST_TEST_MEDIA_STREAM_CLIENT_H_
-#define CONTENT_TEST_TEST_MEDIA_STREAM_CLIENT_H_
-
-#include "base/callback_forward.h"
-#include "content/public/renderer/render_frame_observer.h"
-#include "content/renderer/media/media_stream_client.h"
-#include "third_party/WebKit/public/platform/WebURL.h"
-
-namespace content {
-
-// TestMediaStreamClient is a mock implementation of MediaStreamClient used when
-// running layout tests.
-class TestMediaStreamClient : public RenderFrameObserver,
- public MediaStreamClient {
- public:
- explicit TestMediaStreamClient(RenderFrame* render_frame);
- virtual ~TestMediaStreamClient();
-
- // MediaStreamClient implementation.
- virtual bool IsMediaStream(const GURL& url) OVERRIDE;
- virtual scoped_refptr<VideoFrameProvider> GetVideoFrameProvider(
- const GURL& url,
- const base::Closure& error_cb,
- const VideoFrameProvider::RepaintCB& repaint_cb) OVERRIDE;
- virtual scoped_refptr<MediaStreamAudioRenderer> GetAudioRenderer(
- const GURL& url, int render_frame_id) OVERRIDE;
-};
-
-} // namespace content
-
-#endif // CONTENT_TEST_TEST_MEDIA_STREAM_CLIENT_H_
« no previous file with comments | « content/test/layouttest_support.cc ('k') | content/test/test_media_stream_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698