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

Unified Diff: content/renderer/pepper/pepper_video_destination_host.h

Issue 14968002: Glue code to connect PPAPI proxy to MediaStream sources and destinations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix time delta calculation which was correct before. Created 7 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
« no previous file with comments | « no previous file | content/renderer/pepper/pepper_video_destination_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..d65c4898fd9e5d0dd9b8ce12780c2e0c91db3ada 100644
--- a/content/renderer/pepper/pepper_video_destination_host.h
+++ b/content/renderer/pepper/pepper_video_destination_host.h
@@ -6,8 +6,10 @@
#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 "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 +34,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 +42,8 @@ class CONTENT_EXPORT PepperVideoDestinationHost
base::WeakPtrFactory<PepperVideoDestinationHost> weak_factory_;
+ scoped_ptr<content::FrameWriterInterface> frame_writer_;
+
DISALLOW_COPY_AND_ASSIGN(PepperVideoDestinationHost);
};
« no previous file with comments | « no previous file | content/renderer/pepper/pepper_video_destination_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698