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

Issue 1912493003: Video Player: Stop using Cast API shared module. (Closed)

Created:
4 years, 8 months ago by fukino
Modified:
4 years, 8 months ago
Reviewers:
yoshiki
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Video Player: Stop using Cast API shared module. As the shared module will not be supported anymore and it doesn't handle media router. We should use Cast Extension's cast_sender.js instead. BUG=605391 TEST=make sure that the madia router is disabled, a Google Cast extension is installed, there is at least one available cast device, and check that we can cast video on Google Drive from built-in video player. Committed: https://crrev.com/24bc75500304280de2a4cdfbe0f6eb4c81d1e679 Cr-Commit-Position: refs/heads/master@{#389738}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Address review comments #

Total comments: 9

Patch Set 3 : Remove metrics.CAST_API_EXTENSION_STATUS and update some comments. #

Total comments: 2

Patch Set 4 : Update an error message. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -106 lines) Patch
M ui/file_manager/video_player/js/cast/caster.js View 1 2 3 3 chunks +18 lines, -63 lines 0 comments Download
M ui/file_manager/video_player/js/video_player_metrics.js View 1 2 2 chunks +0 lines, -35 lines 0 comments Download
M ui/file_manager/video_player/manifest.json View 1 2 2 chunks +0 lines, -8 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
fukino
PTAL. Thanks!
4 years, 8 months ago (2016-04-21 04:10:32 UTC) #2
fukino
ping.
4 years, 8 months ago (2016-04-25 03:27:06 UTC) #3
yoshiki
Sorry for delay. https://codereview.chromium.org/1912493003/diff/1/ui/file_manager/video_player/js/cast/caster.js File ui/file_manager/video_player/js/cast/caster.js (right): https://codereview.chromium.org/1912493003/diff/1/ui/file_manager/video_player/js/cast/caster.js#newcode40 ui/file_manager/video_player/js/cast/caster.js:40: metrics.recordCastAPIExtensionStatus( I think This metrics should ...
4 years, 8 months ago (2016-04-26 03:02:52 UTC) #4
fukino
Thank you! https://codereview.chromium.org/1912493003/diff/1/ui/file_manager/video_player/js/cast/caster.js File ui/file_manager/video_player/js/cast/caster.js (right): https://codereview.chromium.org/1912493003/diff/1/ui/file_manager/video_player/js/cast/caster.js#newcode40 ui/file_manager/video_player/js/cast/caster.js:40: metrics.recordCastAPIExtensionStatus( On 2016/04/26 03:02:52, yoshiki wrote: > ...
4 years, 8 months ago (2016-04-26 03:59:08 UTC) #5
yoshiki
https://codereview.chromium.org/1912493003/diff/20001/ui/file_manager/video_player/js/cast/caster.js File ui/file_manager/video_player/js/cast/caster.js (right): https://codereview.chromium.org/1912493003/diff/20001/ui/file_manager/video_player/js/cast/caster.js#newcode57 ui/file_manager/video_player/js/cast/caster.js:57: metrics.recordCastAPIExtensionStatus( Please remove this as well. I think we ...
4 years, 8 months ago (2016-04-26 05:01:16 UTC) #6
yoshiki
https://codereview.chromium.org/1912493003/diff/20001/ui/file_manager/video_player/js/cast/caster.js File ui/file_manager/video_player/js/cast/caster.js (right): https://codereview.chromium.org/1912493003/diff/20001/ui/file_manager/video_player/js/cast/caster.js#newcode65 ui/file_manager/video_player/js/cast/caster.js:65: window.chrome['cast']['extensionId'] = extensionId; I can't file the usage of ...
4 years, 8 months ago (2016-04-26 05:04:31 UTC) #7
fukino
Thanks! Some more lines are deleted :) https://codereview.chromium.org/1912493003/diff/20001/ui/file_manager/video_player/js/cast/caster.js File ui/file_manager/video_player/js/cast/caster.js (right): https://codereview.chromium.org/1912493003/diff/20001/ui/file_manager/video_player/js/cast/caster.js#newcode57 ui/file_manager/video_player/js/cast/caster.js:57: metrics.recordCastAPIExtensionStatus( On ...
4 years, 8 months ago (2016-04-26 06:36:18 UTC) #8
yoshiki
LGTM. Please consider to removing the metrics at all from Chrome source (metrics.txt, etc). But ...
4 years, 8 months ago (2016-04-26 07:06:57 UTC) #9
fukino
Thank you! Let me do remaining clean-ups in a separate CL. https://codereview.chromium.org/1912493003/diff/40001/ui/file_manager/video_player/js/cast/caster.js File ui/file_manager/video_player/js/cast/caster.js (right): ...
4 years, 8 months ago (2016-04-26 08:57:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912493003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1912493003/60001
4 years, 8 months ago (2016-04-26 08:57:58 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-26 09:56:00 UTC) #14
commit-bot: I haz the power
4 years, 8 months ago (2016-04-26 09:56:46 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/24bc75500304280de2a4cdfbe0f6eb4c81d1e679
Cr-Commit-Position: refs/heads/master@{#389738}

Powered by Google App Engine
This is Rietveld 408576698