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

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

Issue 15039009: Add PPAPI tests for VideoSource and VideoDestination resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix proxy so basic tests pass. 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
Index: content/renderer/pepper/pepper_video_source_host.h
diff --git a/content/renderer/pepper/pepper_video_source_host.h b/content/renderer/pepper/pepper_video_source_host.h
index 16aba452e050547165ef099cda907dabf0101607..3cea9f43830bd5416a558f531783b3f5cc30200f 100644
--- a/content/renderer/pepper/pepper_video_source_host.h
+++ b/content/renderer/pepper/pepper_video_source_host.h
@@ -14,6 +14,8 @@
#include "ppapi/host/host_message_context.h"
#include "ppapi/host/resource_host.h"
+struct PP_ImageDataDesc;
+
namespace content {
class RendererPpapiHost;
@@ -43,11 +45,9 @@ class CONTENT_EXPORT PepperVideoSourceHost
void OnGotFrame(scoped_ptr<cricket::VideoFrame> frame);
- int32_t ConvertFrame(ppapi::HostResource* image_data_resource,
- PP_TimeTicks* timestamp);
- void SendFrame(const ppapi::HostResource& image_data_resource,
- PP_TimeTicks timestamp,
- int32_t result);
+ int32_t SendGetFrameReply(bool force_reply);
+ int32_t ReportGetFrameError(int32_t error, bool force_reply);
+
void Close();
RendererPpapiHost* renderer_ppapi_host_;

Powered by Google App Engine
This is Rietveld 408576698