Index: content/renderer/pepper/pepper_video_destination_host.h |
diff --git a/content/renderer/pepper/pepper_video_destination_host.h b/content/renderer/pepper/pepper_video_destination_host.h |
index 54941cb89708cb42fd895e46774c45281855faf4..aa166a5a80c1be9b407bdef3e6693e5bf0f71b44 100644 |
--- a/content/renderer/pepper/pepper_video_destination_host.h |
+++ b/content/renderer/pepper/pepper_video_destination_host.h |
@@ -6,8 +6,11 @@ |
#define CONTENT_RENDERER_PEPPER_PEPPER_VIDEO_DESTINATION_HOST_H_ |
#include "base/compiler_specific.h" |
+#include "base/memory/scoped_ptr.h" |
#include "base/memory/weak_ptr.h" |
+#include "base/time.h" |
yzshen1
2013/05/06 20:40:18
nit: please move it to .cc since the header doesn'
bbudge
2013/05/06 20:52:01
Done.
|
#include "content/common/content_export.h" |
+#include "content/renderer/media/video_destination_handler.h" |
#include "ppapi/c/pp_time.h" |
#include "ppapi/host/resource_host.h" |
@@ -32,7 +35,7 @@ class CONTENT_EXPORT PepperVideoDestinationHost |
int32_t OnHostMsgOpen(ppapi::host::HostMessageContext* context, |
const std::string& stream_url); |
int32_t OnHostMsgPutFrame(ppapi::host::HostMessageContext* context, |
- const ppapi::HostResource& image_data, |
+ const ppapi::HostResource& image_data_resource, |
PP_TimeTicks timestamp); |
int32_t OnHostMsgClose(ppapi::host::HostMessageContext* context); |
@@ -40,6 +43,8 @@ class CONTENT_EXPORT PepperVideoDestinationHost |
base::WeakPtrFactory<PepperVideoDestinationHost> weak_factory_; |
+ scoped_ptr<content::FrameWriterInterface> frame_writer_; |
+ |
DISALLOW_COPY_AND_ASSIGN(PepperVideoDestinationHost); |
}; |