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

Issue 1889233002: [Android,VideoFling] Never add null players to alternative ones (Closed)

Created:
4 years, 8 months ago by whywhat
Modified:
4 years, 8 months ago
Reviewers:
aberent, dgn
CC:
chromium-reviews, feature-media-reviews_chromium.org, mcasas+watch+vc_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android,VideoFling] Never add null players to alternative ones BUG=602851 TEST=existing tests The fix is a mere speculation from staring at the code. Committed: https://crrev.com/9af71a3cfca697a63586d334267829408d702d6a Cr-Commit-Position: refs/heads/master@{#387961}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Remove and delete new player when no current player is found #

Total comments: 2

Patch Set 3 : Check the result of SwapCurrentPlayer in SwitchToRemotePlayer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -5 lines) Patch
M chrome/browser/media/android/remote/remote_media_player_manager.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media/android/remote/remote_media_player_manager.cc View 1 2 1 chunk +13 lines, -4 lines 0 comments Download

Messages

Total messages: 31 (11 generated)
whywhat
PTaL
4 years, 8 months ago (2016-04-15 17:41:14 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1889233002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1889233002/1
4 years, 8 months ago (2016-04-15 17:41:38 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-15 18:47:07 UTC) #6
whywhat
After the weekend friendly ping :) Thanks!
4 years, 8 months ago (2016-04-18 13:08:53 UTC) #8
dgn
Letting aberent@ have a look. https://codereview.chromium.org/1889233002/diff/1/chrome/browser/media/android/remote/remote_media_player_manager.cc File chrome/browser/media/android/remote/remote_media_player_manager.cc (right): https://codereview.chromium.org/1889233002/diff/1/chrome/browser/media/android/remote/remote_media_player_manager.cc#newcode153 chrome/browser/media/android/remote/remote_media_player_manager.cc:153: if (!old_player) In which ...
4 years, 8 months ago (2016-04-18 13:18:49 UTC) #10
whywhat
https://codereview.chromium.org/1889233002/diff/1/chrome/browser/media/android/remote/remote_media_player_manager.cc File chrome/browser/media/android/remote/remote_media_player_manager.cc (right): https://codereview.chromium.org/1889233002/diff/1/chrome/browser/media/android/remote/remote_media_player_manager.cc#newcode153 chrome/browser/media/android/remote/remote_media_player_manager.cc:153: if (!old_player) On 2016/04/18 at 13:18:49, dgn wrote: > ...
4 years, 8 months ago (2016-04-18 13:21:51 UTC) #11
aberent
https://codereview.chromium.org/1889233002/diff/1/chrome/browser/media/android/remote/remote_media_player_manager.cc File chrome/browser/media/android/remote/remote_media_player_manager.cc (right): https://codereview.chromium.org/1889233002/diff/1/chrome/browser/media/android/remote/remote_media_player_manager.cc#newcode153 chrome/browser/media/android/remote/remote_media_player_manager.cc:153: if (!old_player) On 2016/04/18 13:21:51, whywhat wrote: > On ...
4 years, 8 months ago (2016-04-18 13:44:57 UTC) #12
whywhat
Remove and delete new player when no current player is found
4 years, 8 months ago (2016-04-18 14:52:57 UTC) #13
whywhat
PTAL https://codereview.chromium.org/1889233002/diff/1/chrome/browser/media/android/remote/remote_media_player_manager.cc File chrome/browser/media/android/remote/remote_media_player_manager.cc (right): https://codereview.chromium.org/1889233002/diff/1/chrome/browser/media/android/remote/remote_media_player_manager.cc#newcode153 chrome/browser/media/android/remote/remote_media_player_manager.cc:153: if (!old_player) On 2016/04/18 at 13:44:57, aberent wrote: ...
4 years, 8 months ago (2016-04-18 14:54:45 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1889233002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1889233002/20001
4 years, 8 months ago (2016-04-18 15:15:21 UTC) #16
aberent
https://codereview.chromium.org/1889233002/diff/20001/chrome/browser/media/android/remote/remote_media_player_manager.cc File chrome/browser/media/android/remote/remote_media_player_manager.cc (right): https://codereview.chromium.org/1889233002/diff/20001/chrome/browser/media/android/remote/remote_media_player_manager.cc#newcode156 chrome/browser/media/android/remote/remote_media_player_manager.cc:156: alternative_players_.erase(it); Does this now need a change to SwitchToRemotePlayer ...
4 years, 8 months ago (2016-04-18 15:31:46 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-18 16:43:28 UTC) #19
whywhat
Check the result of SwapCurrentPlayer in SwitchToRemotePlayer
4 years, 8 months ago (2016-04-18 16:48:30 UTC) #20
whywhat
PTAL https://codereview.chromium.org/1889233002/diff/20001/chrome/browser/media/android/remote/remote_media_player_manager.cc File chrome/browser/media/android/remote/remote_media_player_manager.cc (right): https://codereview.chromium.org/1889233002/diff/20001/chrome/browser/media/android/remote/remote_media_player_manager.cc#newcode156 chrome/browser/media/android/remote/remote_media_player_manager.cc:156: alternative_players_.erase(it); On 2016/04/18 at 15:31:46, aberent wrote: > ...
4 years, 8 months ago (2016-04-18 16:50:46 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1889233002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1889233002/40001
4 years, 8 months ago (2016-04-18 16:51:11 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-18 17:30:50 UTC) #25
aberent
lgtm
4 years, 8 months ago (2016-04-18 18:16:13 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1889233002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1889233002/40001
4 years, 8 months ago (2016-04-18 18:23:39 UTC) #28
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-18 18:30:09 UTC) #29
commit-bot: I haz the power
4 years, 8 months ago (2016-04-18 18:31:56 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9af71a3cfca697a63586d334267829408d702d6a
Cr-Commit-Position: refs/heads/master@{#387961}

Powered by Google App Engine
This is Rietveld 408576698