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

Issue 2449873006: Don't background pause suspend until we have future data. (Closed)

Created:
4 years, 1 month ago by DaleCurtis
Modified:
4 years, 1 month ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, miu+watch_chromium.org, xjz+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't background pause suspend until we have future data. Otherwise the pause state is not reliable and we may incorrectly prevent background playback attempts. We can't always force background pause suspend since background playback may trigger a play() but we don't know the correct paused state yet. BUG=658680 TEST=new test. Committed: https://crrev.com/cc8baf72a3cfc63b1bd39710b8999b04508e43c8 Cr-Commit-Position: refs/heads/master@{#427910}

Patch Set 1 : Add tests. #

Total comments: 4

Patch Set 2 : Reword comments, remove test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -3 lines) Patch
M media/blink/webmediaplayer_impl.cc View 1 2 chunks +8 lines, -2 lines 0 comments Download
M media/blink/webmediaplayer_impl_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (6 generated)
DaleCurtis
4 years, 1 month ago (2016-10-26 22:56:09 UTC) #4
sandersd (OOO until July 31)
lgtm % nits. https://codereview.chromium.org/2449873006/diff/20001/media/blink/webmediaplayer_impl.cc File media/blink/webmediaplayer_impl.cc (right): https://codereview.chromium.org/2449873006/diff/20001/media/blink/webmediaplayer_impl.cc#newcode1760 media/blink/webmediaplayer_impl.cc:1760: // we may miss out on ...
4 years, 1 month ago (2016-10-26 23:07:46 UTC) #5
DaleCurtis
https://codereview.chromium.org/2449873006/diff/20001/media/blink/webmediaplayer_impl.cc File media/blink/webmediaplayer_impl.cc (right): https://codereview.chromium.org/2449873006/diff/20001/media/blink/webmediaplayer_impl.cc#newcode1760 media/blink/webmediaplayer_impl.cc:1760: // we may miss out on legitimate background playback ...
4 years, 1 month ago (2016-10-27 00:36:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2449873006/40001
4 years, 1 month ago (2016-10-27 00:37:08 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 1 month ago (2016-10-27 01:50:07 UTC) #10
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 01:52:12 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cc8baf72a3cfc63b1bd39710b8999b04508e43c8
Cr-Commit-Position: refs/heads/master@{#427910}

Powered by Google App Engine
This is Rietveld 408576698