Index: media/blink/webmediaplayer_delegate.h |
diff --git a/media/blink/webmediaplayer_delegate.h b/media/blink/webmediaplayer_delegate.h |
index c7b59bd1f1f396b6d8869e0dcbe8251b2987e2fd..62c93bc22dd4339fcd74ae9dcd0dd532cbdba494 100644 |
--- a/media/blink/webmediaplayer_delegate.h |
+++ b/media/blink/webmediaplayer_delegate.h |
@@ -31,7 +31,10 @@ class WebMediaPlayerDelegate { |
// it may do some or all of the same actions as when |must_suspend| is true. |
// To be clear, the player is not required to call PlayerGone() when |
// |must_suspend| is false. |
- virtual void OnSuspendRequested(bool must_suspend) = 0; |
+ // Return false to reject the request and indicate that further calls to |
+ // OnSuspendRequested() are required. Otherwise the Observer is removed |
+ // from the idle list. |
+ virtual bool OnSuspendRequested(bool must_suspend) = 0; |
virtual void OnPlay() = 0; |
virtual void OnPause() = 0; |