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

Unified Diff: content/renderer/media/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: 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/renderer/media/media_stream_client.h
diff --git a/content/renderer/media/media_stream_client.h b/content/renderer/media/media_stream_client.h
deleted file mode 100644
index 01b4233354588ee691657f64f5a6400ad7d94134..0000000000000000000000000000000000000000
--- a/content/renderer/media/media_stream_client.h
+++ /dev/null
@@ -1,39 +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_RENDERER_MEDIA_MEDIA_STREAM_CLIENT_H_
-#define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_CLIENT_H_
-
-#include "base/callback.h"
-#include "base/memory/ref_counted.h"
-#include "content/renderer/media/video_frame_provider.h"
-
-class GURL;
-
-namespace content {
-
-class MediaStreamAudioRenderer;
-
-// Define an interface for media stream client to get some information about
-// the media stream.
-class MediaStreamClient {
- public:
- // Check if the |url| is derived from a media stream object.
- virtual bool IsMediaStream(const GURL& url) = 0;
-
- virtual scoped_refptr<VideoFrameProvider> GetVideoFrameProvider(
- const GURL& url,
- const base::Closure& error_cb,
- const VideoFrameProvider::RepaintCB& repaint_cb) = 0;
-
- virtual scoped_refptr<MediaStreamAudioRenderer> GetAudioRenderer(
- const GURL& url, int render_frame_id) = 0;
-
- protected:
- virtual ~MediaStreamClient() {}
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698