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

Issue 15028015: Conditionally build support for Pepper-based CDMs. (Closed)

Created:
7 years, 7 months ago by ddorwin
Modified:
7 years, 7 months ago
Reviewers:
Lei Zhang, xhwang
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, markusheintz_, jam, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Conditionally build support for Pepper-based CDMs. Adds enable_pepper_cdms and ENABLE_PEPPER_CDMS to control building of this logic. Previously, it was built for all platforms, but not all platforms use Pepper. TEST=content_browsertests on platforms with and without Pepper CDM support Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201738

Patch Set 1 #

Patch Set 2 : Conditionally compile External Clear Key tests #

Total comments: 8

Patch Set 3 : Review feedback and cleaned up a few more things. #

Total comments: 8

Patch Set 4 : Rebase only #

Patch Set 5 : minor fix #

Patch Set 6 : Fix PluginUMATest failure in the not enabled case. #

Patch Set 7 : rebase only #

Total comments: 2

Patch Set 8 : Use AppendAscii() where possible. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -65 lines) Patch
M build/common.gypi View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/content_settings_browsertest.cc View 1 2 3 4 5 6 7 5 chunks +11 lines, -2 lines 0 comments Download
M chrome/common/chrome_content_client.cc View 1 2 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/common/chrome_paths.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/plugins/plugin_uma.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/plugins/plugin_uma_unittest.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/media/encrypted_media_browsertest.cc View 1 2 3 4 5 6 7 3 chunks +25 lines, -25 lines 0 comments Download
M third_party/widevine/cdm/widevine_cdm.gyp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/widevine/cdm/widevine_cdm_common.h View 1 2 3 4 5 3 chunks +7 lines, -2 lines 0 comments Download
M webkit/media/crypto/key_systems.h View 1 chunk +5 lines, -3 lines 0 comments Download
M webkit/media/crypto/key_systems.cc View 1 1 chunk +6 lines, -4 lines 0 comments Download
M webkit/media/crypto/key_systems_info.h View 1 2 chunks +8 lines, -4 lines 0 comments Download
M webkit/media/crypto/key_systems_info.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M webkit/media/crypto/key_systems_unittest.cc View 6 chunks +21 lines, -8 lines 0 comments Download
M webkit/media/crypto/proxy_decryptor.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/media/crypto/proxy_decryptor.cc View 1 7 chunks +15 lines, -2 lines 0 comments Download
M webkit/media/webkit_media.gypi View 1 2 3 4 5 6 4 chunks +12 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
xhwang
Generally looks good. I just have some question why some pepper related code aren't in ...
7 years, 7 months ago (2013-05-10 00:26:44 UTC) #1
ddorwin
Addressed feedback and cleaned up a few more things. Revision 3 shows changes before rebasing. ...
7 years, 7 months ago (2013-05-14 00:17:10 UTC) #2
xhwang
Looking mostly good with one comment and some nits. I am not sure what's your ...
7 years, 7 months ago (2013-05-14 16:35:44 UTC) #3
ddorwin
Replies and fixed a unit test. https://codereview.chromium.org/15028015/diff/21001/content/browser/media/encrypted_media_browsertest.cc File content/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/15028015/diff/21001/content/browser/media/encrypted_media_browsertest.cc#newcode131 content/browser/media/encrypted_media_browsertest.cc:131: #endif // defined(ENABLE_PEPPER_CDMS) ...
7 years, 7 months ago (2013-05-14 20:14:28 UTC) #4
ddorwin
thestig, please do an OWNERS review of the chrome/ files.
7 years, 7 months ago (2013-05-23 00:58:25 UTC) #5
Lei Zhang
chrome lgtm/ https://codereview.chromium.org/15028015/diff/56001/content/browser/media/encrypted_media_browsertest.cc File content/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/15028015/diff/56001/content/browser/media/encrypted_media_browsertest.cc#newcode119 content/browser/media/encrypted_media_browsertest.cc:119: base::FilePath plugin_lib = plugin_dir.Append(adapter_name); You can AppendASCII() ...
7 years, 7 months ago (2013-05-23 01:18:49 UTC) #6
ddorwin
https://codereview.chromium.org/15028015/diff/56001/content/browser/media/encrypted_media_browsertest.cc File content/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/15028015/diff/56001/content/browser/media/encrypted_media_browsertest.cc#newcode119 content/browser/media/encrypted_media_browsertest.cc:119: base::FilePath plugin_lib = plugin_dir.Append(adapter_name); On 2013/05/23 01:18:50, Lei Zhang ...
7 years, 7 months ago (2013-05-23 01:47:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ddorwin@chromium.org/15028015/62002
7 years, 7 months ago (2013-05-23 01:47:56 UTC) #8
commit-bot: I haz the power
7 years, 7 months ago (2013-05-23 10:44:40 UTC) #9
Message was sent while issue was closed.
Change committed as 201738

Powered by Google App Engine
This is Rietveld 408576698