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

Issue 42003002: Extract supported codecs from CDM component manifest. (Closed)

Created:
7 years, 2 months ago by ddorwin
Modified:
7 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

Extract supported codecs from CDM component manifest. Look for "x-cdm-codecs" in the manifest and set its value in WebPluginInfo::WebPluginMimeType::additional_param_* where it can be used to determine the types supported. The manifest is read when registering existing components in addition to new installs so that the manifest information is always available. Also updated the non-component path so the behavior is consistent for the consumer, which will be updated in a separate CL. BUG=311370 TEST=canPlayType() with various manifest configurations Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=231197

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use constant; support existing manifests #

Total comments: 21

Patch Set 3 : review feedback #

Total comments: 4

Patch Set 4 : added includes; removed DLOG #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -25 lines) Patch
M chrome/browser/component_updater/component_unpacker.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/component_updater/component_unpacker.cc View 1 2 3 2 chunks +11 lines, -8 lines 0 comments Download
M chrome/browser/component_updater/default_component_installer.h View 1 2 3 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/component_updater/default_component_installer.cc View 1 2 5 chunks +27 lines, -2 lines 0 comments Download
M chrome/browser/component_updater/widevine_cdm_component_installer.cc View 1 2 3 5 chunks +54 lines, -10 lines 0 comments Download
M chrome/common/chrome_content_client.cc View 1 2 2 chunks +23 lines, -0 lines 0 comments Download
M third_party/widevine/cdm/widevine_cdm_common.h View 1 2 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
ddorwin
xhwang, please review everything. waffles, please review chrome/browser/component_updater, especially the shared code. https://codereview.chromium.org/42003002/diff/1/chrome/browser/component_updater/component_updater_service.h File chrome/browser/component_updater/component_updater_service.h ...
7 years, 2 months ago (2013-10-24 22:17:03 UTC) #1
waffles
https://codereview.chromium.org/42003002/diff/50001/chrome/browser/component_updater/default_component_installer.cc File chrome/browser/component_updater/default_component_installer.cc (right): https://codereview.chromium.org/42003002/diff/50001/chrome/browser/component_updater/default_component_installer.cc#newcode144 chrome/browser/component_updater/default_component_installer.cc:144: // to FinishRegistration()? There was the thought that the ...
7 years, 2 months ago (2013-10-24 23:07:06 UTC) #2
ddorwin
https://codereview.chromium.org/42003002/diff/50001/chrome/browser/component_updater/default_component_installer.cc File chrome/browser/component_updater/default_component_installer.cc (right): https://codereview.chromium.org/42003002/diff/50001/chrome/browser/component_updater/default_component_installer.cc#newcode144 chrome/browser/component_updater/default_component_installer.cc:144: // to FinishRegistration()? On 2013/10/24 23:07:06, waffles wrote: > ...
7 years, 2 months ago (2013-10-25 00:06:05 UTC) #3
waffles
https://codereview.chromium.org/42003002/diff/1/chrome/browser/component_updater/component_updater_service.h File chrome/browser/component_updater/component_updater_service.h (right): https://codereview.chromium.org/42003002/diff/1/chrome/browser/component_updater/component_updater_service.h#newcode203 chrome/browser/component_updater/component_updater_service.h:203: // Deserialize the CRX manifest. The top level must ...
7 years, 1 month ago (2013-10-25 16:53:41 UTC) #4
xhwang
Looking pretty good. Just a few comments. https://codereview.chromium.org/42003002/diff/50001/chrome/browser/component_updater/component_unpacker.cc File chrome/browser/component_updater/component_unpacker.cc (right): https://codereview.chromium.org/42003002/diff/50001/chrome/browser/component_updater/component_unpacker.cc#newcode178 chrome/browser/component_updater/component_unpacker.cc:178: if (!installer->Install(*manifest, ...
7 years, 1 month ago (2013-10-25 17:33:21 UTC) #5
ddorwin
cpu, please OWNERS review component_updater/. thestig, please OWNERS review the one file in chrome/common/. https://codereview.chromium.org/42003002/diff/50001/chrome/browser/component_updater/component_unpacker.cc ...
7 years, 1 month ago (2013-10-25 19:03:39 UTC) #6
xhwang
lgtm
7 years, 1 month ago (2013-10-25 19:19:48 UTC) #7
waffles
lgtm https://codereview.chromium.org/42003002/diff/50001/chrome/browser/component_updater/default_component_installer.cc File chrome/browser/component_updater/default_component_installer.cc (right): https://codereview.chromium.org/42003002/diff/50001/chrome/browser/component_updater/default_component_installer.cc#newcode195 chrome/browser/component_updater/default_component_installer.cc:195: // to UI in Install()? On 2013/10/25 19:03:40, ...
7 years, 1 month ago (2013-10-25 19:43:44 UTC) #8
Lei Zhang
chrome/common lgtm, and the number of macros is indeed too damn high.
7 years, 1 month ago (2013-10-25 20:47:13 UTC) #9
cpu_(ooo_6.6-7.5)
lgtm https://codereview.chromium.org/42003002/diff/190001/chrome/browser/component_updater/component_unpacker.cc File chrome/browser/component_updater/component_unpacker.cc (right): https://codereview.chromium.org/42003002/diff/190001/chrome/browser/component_updater/component_unpacker.cc#newcode104 chrome/browser/component_updater/component_unpacker.cc:104: DLOG(ERROR) << "Failed to deserialize " << manifest.MaybeAsASCII() ...
7 years, 1 month ago (2013-10-25 23:06:22 UTC) #10
ddorwin
https://codereview.chromium.org/42003002/diff/190001/chrome/browser/component_updater/component_unpacker.cc File chrome/browser/component_updater/component_unpacker.cc (right): https://codereview.chromium.org/42003002/diff/190001/chrome/browser/component_updater/component_unpacker.cc#newcode104 chrome/browser/component_updater/component_unpacker.cc:104: DLOG(ERROR) << "Failed to deserialize " << manifest.MaybeAsASCII() << ...
7 years, 1 month ago (2013-10-25 23:27:26 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ddorwin@chromium.org/42003002/360001
7 years, 1 month ago (2013-10-25 23:32:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ddorwin@chromium.org/42003002/360001
7 years, 1 month ago (2013-10-26 04:15:55 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ddorwin@chromium.org/42003002/360001
7 years, 1 month ago (2013-10-26 09:49:34 UTC) #14
commit-bot: I haz the power
7 years, 1 month ago (2013-10-26 10:52:13 UTC) #15
Message was sent while issue was closed.
Change committed as 231197

Powered by Google App Engine
This is Rietveld 408576698