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

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

Issue 18123002: Migrate webkit/renderer/media/ to content/renderer/media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: delegates 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..4d4a5bd914ba50f26598194fc2c525b5ad2f315b 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
scherkus (not reviewing) 2013/06/28 06:04:41 FYI now a public content interface
: public base::RefCountedThreadSafe<VideoFrameProvider> {
public:
typedef base::Callback<void(const scoped_refptr<media::VideoFrame>&)>
@@ -45,6 +46,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