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

Issue 1027363002: Change EmeInitDataType to be an enum class (Closed)

Created:
5 years, 9 months ago by jrummell
Modified:
5 years, 9 months ago
CC:
chromium-reviews, eme-reviews_chromium.org, lcwu+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, gunsch+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change EmeInitDataType to be an enum class Mask values are seperated out into consts of type SupportedInitDataTypes. Also removes unused function IsSaneInitDataTypeWithContainer(). BUG=417440 TEST=EME layout tests pass Committed: https://crrev.com/dba51339487183810b6c21387f873d5b483cfab1 Cr-Commit-Position: refs/heads/master@{#322286}

Patch Set 1 #

Total comments: 9

Patch Set 2 : mask #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -61 lines) Patch
M chrome/renderer/media/chrome_key_systems.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chromecast/renderer/key_systems_cast.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/cdm/renderer/android_key_systems.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M components/cdm/renderer/widevine_key_systems.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/media/cdm/browser_cdm_manager.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M media/base/eme_constants.h View 1 2 2 chunks +14 lines, -10 lines 0 comments Download
M media/base/key_system_info.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M media/base/key_system_info.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M media/base/key_systems.h View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M media/base/key_systems.cc View 1 2 6 chunks +22 lines, -26 lines 0 comments Download
M media/base/key_systems_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
jrummell
PTAL.
5 years, 9 months ago (2015-03-23 21:18:34 UTC) #2
sandersd (OOO until July 31)
https://codereview.chromium.org/1027363002/diff/1/content/browser/media/cdm/browser_cdm_manager.cc File content/browser/media/cdm/browser_cdm_manager.cc (right): https://codereview.chromium.org/1027363002/diff/1/content/browser/media/cdm/browser_cdm_manager.cc#newcode349 content/browser/media/cdm/browser_cdm_manager.cc:349: media::EmeInitDataType eme_init_data_type = media::EmeInitDataType::NONE; I'm okay with not initializing ...
5 years, 9 months ago (2015-03-23 21:27:30 UTC) #3
jrummell
Updated. https://codereview.chromium.org/1027363002/diff/1/content/browser/media/cdm/browser_cdm_manager.cc File content/browser/media/cdm/browser_cdm_manager.cc (right): https://codereview.chromium.org/1027363002/diff/1/content/browser/media/cdm/browser_cdm_manager.cc#newcode349 content/browser/media/cdm/browser_cdm_manager.cc:349: media::EmeInitDataType eme_init_data_type = media::EmeInitDataType::NONE; On 2015/03/23 21:27:30, sandersd ...
5 years, 9 months ago (2015-03-25 21:44:25 UTC) #4
sandersd (OOO until July 31)
lgtm https://codereview.chromium.org/1027363002/diff/1/content/browser/media/cdm/browser_cdm_manager.cc File content/browser/media/cdm/browser_cdm_manager.cc (right): https://codereview.chromium.org/1027363002/diff/1/content/browser/media/cdm/browser_cdm_manager.cc#newcode349 content/browser/media/cdm/browser_cdm_manager.cc:349: media::EmeInitDataType eme_init_data_type = media::EmeInitDataType::NONE; On 2015/03/25 21:44:24, jrummell ...
5 years, 9 months ago (2015-03-25 22:01:29 UTC) #5
jrummell
+gunsch@ for changes in chromecast/renderer +ddorwin@ for changes in components/cdm and content/browser
5 years, 9 months ago (2015-03-25 23:03:00 UTC) #7
ddorwin
components/cdm/renderer/ and content/browser/media/cdm/browser_cdm_manager.cc LGTM
5 years, 9 months ago (2015-03-25 23:13:20 UTC) #8
gunsch
lgtm for chromecast/
5 years, 9 months ago (2015-03-25 23:21:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1027363002/40001
5 years, 9 months ago (2015-03-25 23:25:21 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-26 01:11:22 UTC) #13
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 01:12:04 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/dba51339487183810b6c21387f873d5b483cfab1
Cr-Commit-Position: refs/heads/master@{#322286}

Powered by Google App Engine
This is Rietveld 408576698