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

Unified Diff: ppapi/proxy/video_frame_resource.h

Issue 142023008: [PPAPI][MediaStream] Rename AudioFrame to AudioBuffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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: ppapi/proxy/video_frame_resource.h
diff --git a/ppapi/proxy/video_frame_resource.h b/ppapi/proxy/video_frame_resource.h
index ba92f4d6e3f74386058825dc96c9d175e93b7207..92ac08e0c9d3d94d248c8f7c9a2710153b62607a 100644
--- a/ppapi/proxy/video_frame_resource.h
+++ b/ppapi/proxy/video_frame_resource.h
@@ -8,7 +8,7 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "ppapi/proxy/ppapi_proxy_export.h"
-#include "ppapi/shared_impl/media_stream_frame.h"
+#include "ppapi/shared_impl/media_stream_buffer.h"
#include "ppapi/shared_impl/resource.h"
#include "ppapi/thunk/ppb_video_frame_api.h"
@@ -20,7 +20,7 @@ class PPAPI_PROXY_EXPORT VideoFrameResource : public Resource,
public:
VideoFrameResource(PP_Instance instance,
int32_t index,
- MediaStreamFrame* frame);
+ MediaStreamBuffer* buffer);
virtual ~VideoFrameResource();
@@ -34,14 +34,14 @@ class PPAPI_PROXY_EXPORT VideoFrameResource : public Resource,
virtual PP_Bool GetSize(PP_Size* size) OVERRIDE;
virtual void* GetDataBuffer() OVERRIDE;
virtual uint32_t GetDataBufferSize() OVERRIDE;
- virtual MediaStreamFrame* GetFrameBuffer();
- virtual int32_t GetFrameBufferIndex();
- virtual void Invalidate();
+ virtual MediaStreamBuffer* GetBuffer() OVERRIDE;
+ virtual int32_t GetBufferIndex() OVERRIDE;
+ virtual void Invalidate() OVERRIDE;
// Frame index
int32_t index_;
- MediaStreamFrame* frame_;
+ MediaStreamBuffer* buffer_;
DISALLOW_COPY_AND_ASSIGN(VideoFrameResource);
};

Powered by Google App Engine
This is Rietveld 408576698