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

Unified Diff: content/renderer/media/android/stream_texture_factory.cc

Issue 2282633002: Integrate Surface requests with MediaPlayerRenderer (Closed)
Patch Set: Switch token type to base::Nonce Created 4 years, 3 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/media/android/stream_texture_factory.cc
diff --git a/content/renderer/media/android/stream_texture_factory.cc b/content/renderer/media/android/stream_texture_factory.cc
index df409514f4f9cdebcea8cf4a24c29b7c84a68fad..3fcd575c49a4793648f6ded22f1e0e0e83a130c6 100644
--- a/content/renderer/media/android/stream_texture_factory.cc
+++ b/content/renderer/media/android/stream_texture_factory.cc
@@ -95,6 +95,13 @@ void StreamTextureFactory::EstablishPeer(int32_t stream_id,
new GpuStreamTextureMsg_EstablishPeer(stream_id, frame_id, player_id));
}
+void StreamTextureFactory::ForwardStreamTextureForSurfaceRequest(
+ int32_t stream_id,
+ base::Nonce request_token) {
+ channel_->Send(new GpuStreamTextureMsg_ForwardForSurfaceRequest(
+ stream_id, request_token));
+}
+
unsigned StreamTextureFactory::CreateStreamTexture(
unsigned texture_target,
unsigned* texture_id,

Powered by Google App Engine
This is Rietveld 408576698