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

Issue 1607043002: Only show cast button if video can be cast (Closed)

Created:
4 years, 11 months ago by aberent
Modified:
4 years, 11 months ago
Reviewers:
whywhat, dgn
CC:
chromium-reviews, feature-media-reviews_chromium.org, mcasas+watch_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

Only show cast button if video can be cast This moves the check of the CORS headers for casting to the initialization of the RemoteMediaPlayerBridge. As a result we can suppress the cast button if the video isn't playable on Chromecast. BUG=539406 Committed: https://crrev.com/16865ed7e365226b34c48503828e4ed255241e53 Cr-Commit-Position: refs/heads/master@{#370412}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Fix review comments #

Patch Set 3 : Fix comment formatting #

Patch Set 4 : Fix null pointer error (found by telemetry smoke tests!) #

Messages

Total messages: 21 (10 generated)
aberent
4 years, 11 months ago (2016-01-19 17:34:31 UTC) #2
whywhat
lgtm with nits https://codereview.chromium.org/1607043002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/remote/AbstractMediaRouteController.java File chrome/android/java/src/org/chromium/chrome/browser/media/remote/AbstractMediaRouteController.java (right): https://codereview.chromium.org/1607043002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/remote/AbstractMediaRouteController.java#newcode340 chrome/android/java/src/org/chromium/chrome/browser/media/remote/AbstractMediaRouteController.java:340: // This exists for compatability with ...
4 years, 11 months ago (2016-01-19 18:45:59 UTC) #3
dgn
https://codereview.chromium.org/1607043002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/remote/DefaultMediaRouteController.java File chrome/android/java/src/org/chromium/chrome/browser/media/remote/DefaultMediaRouteController.java (right): https://codereview.chromium.org/1607043002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/remote/DefaultMediaRouteController.java#newcode828 chrome/android/java/src/org/chromium/chrome/browser/media/remote/DefaultMediaRouteController.java:828: RecordCastAction.castPlayRequested(); I tried to find what is expected to ...
4 years, 11 months ago (2016-01-20 11:48:33 UTC) #4
aberent
https://codereview.chromium.org/1607043002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/remote/AbstractMediaRouteController.java File chrome/android/java/src/org/chromium/chrome/browser/media/remote/AbstractMediaRouteController.java (right): https://codereview.chromium.org/1607043002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/media/remote/AbstractMediaRouteController.java#newcode340 chrome/android/java/src/org/chromium/chrome/browser/media/remote/AbstractMediaRouteController.java:340: // This exists for compatability with old downstream code ...
4 years, 11 months ago (2016-01-20 12:37:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1607043002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1607043002/20001
4 years, 11 months ago (2016-01-20 12:38:01 UTC) #8
dgn
lgtm nit: comment formatting went wild
4 years, 11 months ago (2016-01-20 12:57:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1607043002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1607043002/40001
4 years, 11 months ago (2016-01-20 13:52:25 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/10923)
4 years, 11 months ago (2016-01-20 14:59:24 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1607043002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1607043002/60001
4 years, 11 months ago (2016-01-20 15:52:40 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-20 16:44:44 UTC) #19
commit-bot: I haz the power
4 years, 11 months ago (2016-01-20 16:45:51 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/16865ed7e365226b34c48503828e4ed255241e53
Cr-Commit-Position: refs/heads/master@{#370412}

Powered by Google App Engine
This is Rietveld 408576698