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

Issue 437593006: Video Player: Install the cast API extension if it is not installed. (Closed)

Created:
6 years, 4 months ago by yoshiki
Modified:
6 years, 4 months ago
Reviewers:
hashimoto, hirono, kinaba
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, yoshiki+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Video Player: Install the cast API extension if it is not installed. Previously, Video Player tried loading even if it's not installed. This patch checks the status of load and if the load is failed, installs the extension in background and tries loading again. BUG=399557 TEST=manually tested R=hirono@chromium.org, kinaba@chromium.org TBR=mkearney@chromium.org # TBRing for adding argument to private API in the idl file. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287280

Patch Set 1 #

Patch Set 2 : Added TODO comment #

Total comments: 8

Patch Set 3 : addressed the comments #

Patch Set 4 : Fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -26 lines) Patch
M chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc View 1 2 2 chunks +13 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/file_manager/app_installer.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_manager/app_installer.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/file_browser_private.idl View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M ui/file_manager/file_manager/background/js/test_util.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/file_manager/foreground/js/app_installer.js View 1 chunk +1 line, -0 lines 0 comments Download
M ui/file_manager/video_player/js/cast/caster.js View 1 2 1 chunk +58 lines, -17 lines 0 comments Download
M ui/file_manager/video_player/video_player.html View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
yoshiki
@hashimoto, could you take a look? Thanks.
6 years, 4 months ago (2014-08-01 09:19:56 UTC) #1
yoshiki
+hirono, could you take a look at JavaScript part? Thanks.
6 years, 4 months ago (2014-08-01 09:33:18 UTC) #2
hirono
lgtm with two nits https://codereview.chromium.org/437593006/diff/60001/chrome/common/extensions/api/file_browser_private.idl File chrome/common/extensions/api/file_browser_private.idl (right): https://codereview.chromium.org/437593006/diff/60001/chrome/common/extensions/api/file_browser_private.idl#newcode788 chrome/common/extensions/api/file_browser_private.idl:788: // |callback| Please add comment ...
6 years, 4 months ago (2014-08-01 09:58:08 UTC) #3
hashimoto
https://codereview.chromium.org/437593006/diff/60001/chrome/browser/chromeos/file_manager/app_installer.cc File chrome/browser/chromeos/file_manager/app_installer.cc (right): https://codereview.chromium.org/437593006/diff/60001/chrome/browser/chromeos/file_manager/app_installer.cc#newcode50 chrome/browser/chromeos/file_manager/app_installer.cc:50: silent_installation_ = false; Can't we raise an error in ...
6 years, 4 months ago (2014-08-01 10:40:31 UTC) #4
yoshiki
@hashimoto, PTAL. https://codereview.chromium.org/437593006/diff/60001/chrome/browser/chromeos/file_manager/app_installer.cc File chrome/browser/chromeos/file_manager/app_installer.cc (right): https://codereview.chromium.org/437593006/diff/60001/chrome/browser/chromeos/file_manager/app_installer.cc#newcode50 chrome/browser/chromeos/file_manager/app_installer.cc:50: silent_installation_ = false; On 2014/08/01 10:40:31, hashimoto ...
6 years, 4 months ago (2014-08-01 11:46:41 UTC) #5
yoshiki
@kinaba-san, could you take a look if you have a time? Thanks
6 years, 4 months ago (2014-08-01 15:33:48 UTC) #6
kinaba
lgtm
6 years, 4 months ago (2014-08-01 15:56:02 UTC) #7
yoshiki
The CQ bit was checked by yoshiki@chromium.org
6 years, 4 months ago (2014-08-01 16:20:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/437593006/100001
6 years, 4 months ago (2014-08-01 16:22:29 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-01 23:43:14 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-01 23:47:01 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/1612)
6 years, 4 months ago (2014-08-01 23:47:02 UTC) #12
yoshiki
6 years, 4 months ago (2014-08-04 02:58:23 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 manually as 287280 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698