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

Unified Diff: content/public/renderer/video_frame_provider.h

Issue 18590002: Migrate MediaStream test code from content/shell/renderer/ to content/test/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/public/renderer/video_frame_provider.h
diff --git a/webkit/renderer/media/video_frame_provider.h b/content/public/renderer/video_frame_provider.h
similarity index 79%
rename from webkit/renderer/media/video_frame_provider.h
rename to content/public/renderer/video_frame_provider.h
index 8882eb1cb37e5271cdbee1527c158fa08b99d4f2..a0e87ca1aebcfd571ffcc9d1dc3b33874ed1b2de 100644
--- a/webkit/renderer/media/video_frame_provider.h
+++ b/content/public/renderer/video_frame_provider.h
@@ -2,21 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_RENDERER_MEDIA_VIDEO_FRAME_PROVIDER_H_
-#define WEBKIT_RENDERER_MEDIA_VIDEO_FRAME_PROVIDER_H_
+#ifndef CONTENT_RENDERER_PUBLIC_VIDEO_FRAME_PROVIDER_H_
+#define CONTENT_RENDERER_PUBLIC_VIDEO_FRAME_PROVIDER_H_
#include "base/callback.h"
#include "base/memory/ref_counted.h"
+#include "content/common/content_export.h"
namespace media {
class VideoFrame;
}
-namespace webkit_media {
+namespace content {
// Define an interface to provide a sequence of video frames to clients.
// TODO(wjia): remove ref count.
-class VideoFrameProvider
+class CONTENT_EXPORT VideoFrameProvider
jam 2013/07/03 17:44:32 ditto for this interface it seems that this and t
: public base::RefCountedThreadSafe<VideoFrameProvider> {
public:
typedef base::Callback<void(const scoped_refptr<media::VideoFrame>&)>
@@ -38,6 +39,7 @@ class VideoFrameProvider
protected:
friend class base::RefCountedThreadSafe<VideoFrameProvider>;
+
VideoFrameProvider();
virtual ~VideoFrameProvider();
@@ -45,6 +47,6 @@ class VideoFrameProvider
DISALLOW_COPY_AND_ASSIGN(VideoFrameProvider);
};
-} // namespace webkit_media
+} // namespace content
-#endif // WEBKIT_RENDERER_MEDIA_VIDEO_FRAME_PROVIDER_H_
+#endif // CONTENT_RENDERER_PUBLIC_VIDEO_FRAME_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698