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

Unified Diff: services/media/common/media_pipe_base.h

Issue 1836953002: Motown: Delay audio track completion of Prime requests until a packet arrives. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 9 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: services/media/common/media_pipe_base.h
diff --git a/services/media/common/media_pipe_base.h b/services/media/common/media_pipe_base.h
index 96c8afc8484f45da873d3ffe57945bfa47018e45..514e3019650c7e42ccb4ff9cbbaa1bb5c859a959 100644
--- a/services/media/common/media_pipe_base.h
+++ b/services/media/common/media_pipe_base.h
@@ -76,6 +76,7 @@ class MediaPipeBase : public MediaConsumer {
// Interface to be implemented by derived classes
virtual void OnPacketReceived(MediaPacketStatePtr state) = 0;
+ virtual void OnPrimeRequested(const PrimeCallback& cbk) = 0;
virtual bool OnFlushRequested(const FlushCallback& cbk) = 0;
MappedSharedBufferPtr buffer_;

Powered by Google App Engine
This is Rietveld 408576698