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

Unified Diff: media/blink/webmediaplayer_impl.h

Issue 1972783003: Disable idle suspend for Chromecast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted all content/ changes, API now in Renderer Created 4 years, 7 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: media/blink/webmediaplayer_impl.h
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h
index cb03440154b1a3d94a2a725a10b2c129f4f74e6e..e014af18f766d7139170ba5862a86eb2699e69a1 100644
--- a/media/blink/webmediaplayer_impl.h
+++ b/media/blink/webmediaplayer_impl.h
@@ -491,7 +491,8 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl
// unimportant.
bool suppress_destruction_errors_;
- // State indicating if it's okay to suspend or not. Updated on the first time
+ // State indicating if it's okay to suspend or not. If construction params
+ // forbid suspending, always NO. Otherwise, updated on the first time
// OnSuspendRequested() is called. If the state is UNKNOWN, the current frame
// from the compositor will be queried to see if suspend is supported; the
// state will be set to YES or NO respectively if a frame is available.

Powered by Google App Engine
This is Rietveld 408576698