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

Unified Diff: services/video_capture/receiver_mojo_to_media_adapter.cc

Issue 2607203002: [Mojo Video Capture] Retire buffers when Android Chromium goes to the background (Closed)
Patch Set: mcasas comments Created 3 years, 10 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 | « services/video_capture/receiver_mojo_to_media_adapter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/video_capture/receiver_mojo_to_media_adapter.cc
diff --git a/services/video_capture/receiver_mojo_to_media_adapter.cc b/services/video_capture/receiver_mojo_to_media_adapter.cc
index 3c51cac3f104396dcd9924aa2df70377683a26bb..67b3359269146202d583538eac97bc6a36fa9aff 100644
--- a/services/video_capture/receiver_mojo_to_media_adapter.cc
+++ b/services/video_capture/receiver_mojo_to_media_adapter.cc
@@ -29,12 +29,8 @@ void ReceiverMojoToMediaAdapter::OnLog(const std::string& message) {
receiver_->OnLog(message);
}
-void ReceiverMojoToMediaAdapter::OnBufferDestroyed(int buffer_id_to_drop) {
- // Nothing to do here.
- // This call is only needed for clients who need to explicitly share buffers
- // with other processes and keep track of which buffers the buffer pool is
- // no longer going to reuse/resurrect.
- // In the world of Mojo, we do not need to share buffers explicitly.
+void ReceiverMojoToMediaAdapter::OnBufferRetired(int buffer_id) {
+ NOTIMPLEMENTED();
}
} // namespace video_capture
« no previous file with comments | « services/video_capture/receiver_mojo_to_media_adapter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698