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

Unified Diff: media/mojo/clients/mojo_decryptor.h

Issue 2908303003: media: Create Mojo StructTraits for VideoFrame (Closed)
Patch Set: Address most comments. Created 3 years, 6 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 | media/mojo/clients/mojo_decryptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_decryptor.h
diff --git a/media/mojo/clients/mojo_decryptor.h b/media/mojo/clients/mojo_decryptor.h
index 8b889574c4fa90acc45795947849a1021eaf3850..e51ba71b7aa3eda3bd046f2ad8931b41668f3d87 100644
--- a/media/mojo/clients/mojo_decryptor.h
+++ b/media/mojo/clients/mojo_decryptor.h
@@ -63,7 +63,7 @@ class MojoDecryptor : public Decryptor {
std::vector<mojom::AudioBufferPtr> audio_buffers);
void OnVideoDecoded(const VideoDecodeCB& video_decode_cb,
Status status,
- mojom::VideoFramePtr video_frame,
+ const scoped_refptr<VideoFrame>& video_frame,
xhwang 2017/06/06 05:51:15 The current style guide discourages using const-re
sandersd (OOO until July 31) 2017/06/06 18:07:37 Yes, but this callback is used as a Decryptor::Dec
xhwang 2017/06/06 18:12:47 I see. So it's more like a binding generation issu
dcheng 2017/06/08 09:41:08 It is possible to annotate the type with move_only
mojom::FrameResourceReleaserPtr releaser);
base::ThreadChecker thread_checker_;
« no previous file with comments | « no previous file | media/mojo/clients/mojo_decryptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698