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

Issue 950813005: Change initDataType and sessionType to be enums (Closed)

Created:
5 years, 10 months ago by jrummell
Modified:
5 years, 10 months ago
CC:
blink-reviews, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, philipj_slow
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Change initDataType and sessionType to be enums BUG=418239 TEST=EME tests still pass Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190890

Patch Set 1 #

Total comments: 4

Patch Set 2 : change message #

Total comments: 4

Patch Set 3 : remove constants #

Total comments: 2

Patch Set 4 : more contants removed #

Patch Set 5 : android compile issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -70 lines) Patch
M Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp View 1 2 3 4 3 chunks +18 lines, -5 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeySession.h View 4 chunks +6 lines, -4 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeySession.cpp View 1 2 3 13 chunks +50 lines, -44 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeySystemAccess.cpp View 3 chunks +7 lines, -2 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeys.h View 3 chunks +5 lines, -3 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeys.cpp View 4 chunks +14 lines, -10 lines 0 comments Download
M Source/platform/exported/WebContentDecryptionModuleSession.cpp View 1 chunk +39 lines, -0 lines 0 comments Download
M Source/web/WebMediaPlayerClientImpl.h View 2 chunks +3 lines, -0 lines 0 comments Download
M Source/web/WebMediaPlayerClientImpl.cpp View 1 chunk +17 lines, -1 line 0 comments Download
M public/platform/WebContentDecryptionModuleSession.h View 2 chunks +3 lines, -0 lines 0 comments Download
A public/platform/WebEncryptedMediaTypes.h View 1 chunk +28 lines, -0 lines 0 comments Download
M public/platform/WebMediaPlayerClient.h View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
jrummell
PTAL. Doesn't include changes to struct WebMediaKeySystemConfiguration, since that will be more complicated.
5 years, 10 months ago (2015-02-25 00:22:30 UTC) #2
sandersd (OOO until July 31)
lgtm https://codereview.chromium.org/950813005/diff/1/Source/modules/encryptedmedia/MediaKeySession.cpp File Source/modules/encryptedmedia/MediaKeySession.cpp (right): https://codereview.chromium.org/950813005/diff/1/Source/modules/encryptedmedia/MediaKeySession.cpp#newcode468 Source/modules/encryptedmedia/MediaKeySession.cpp:468: scriptState, DOMException::create(NotSupportedError, "The initialization data type '" + ...
5 years, 10 months ago (2015-02-25 00:35:54 UTC) #3
jrummell
Updated. +dcheng@ for OWNERS review of public/platform +haraken@ for OWNERS review of source/platform and source/web ...
5 years, 10 months ago (2015-02-25 20:52:42 UTC) #5
dcheng
rs lgtm
5 years, 10 months ago (2015-02-25 20:55:11 UTC) #6
ddorwin
I just skimmed it. LG overall. https://codereview.chromium.org/950813005/diff/20001/Source/modules/encryptedmedia/MediaKeySession.cpp File Source/modules/encryptedmedia/MediaKeySession.cpp (right): https://codereview.chromium.org/950813005/diff/20001/Source/modules/encryptedmedia/MediaKeySession.cpp#newcode58 Source/modules/encryptedmedia/MediaKeySession.cpp:58: // The list ...
5 years, 10 months ago (2015-02-25 21:00:05 UTC) #7
haraken
platform/ and web/ LGTM.
5 years, 10 months ago (2015-02-25 21:08:42 UTC) #8
jrummell
Updated to remove constant strings. https://codereview.chromium.org/950813005/diff/20001/Source/modules/encryptedmedia/MediaKeySession.cpp File Source/modules/encryptedmedia/MediaKeySession.cpp (right): https://codereview.chromium.org/950813005/diff/20001/Source/modules/encryptedmedia/MediaKeySession.cpp#newcode58 Source/modules/encryptedmedia/MediaKeySession.cpp:58: // The list of ...
5 years, 10 months ago (2015-02-25 21:35:15 UTC) #9
ddorwin
LG https://codereview.chromium.org/950813005/diff/40001/Source/modules/encryptedmedia/MediaKeySession.cpp File Source/modules/encryptedmedia/MediaKeySession.cpp (right): https://codereview.chromium.org/950813005/diff/40001/Source/modules/encryptedmedia/MediaKeySession.cpp#newcode58 Source/modules/encryptedmedia/MediaKeySession.cpp:58: // The list of possible values for |messageType|. ...
5 years, 10 months ago (2015-02-25 21:38:51 UTC) #10
jrummell
Updated. https://codereview.chromium.org/950813005/diff/40001/Source/modules/encryptedmedia/MediaKeySession.cpp File Source/modules/encryptedmedia/MediaKeySession.cpp (right): https://codereview.chromium.org/950813005/diff/40001/Source/modules/encryptedmedia/MediaKeySession.cpp#newcode58 Source/modules/encryptedmedia/MediaKeySession.cpp:58: // The list of possible values for |messageType|. ...
5 years, 10 months ago (2015-02-25 21:52:38 UTC) #11
ddorwin
Thanks. LG
5 years, 10 months ago (2015-02-25 22:20:10 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/950813005/60001
5 years, 10 months ago (2015-02-25 22:24:07 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/950813005/80001
5 years, 10 months ago (2015-02-26 01:09:46 UTC) #18
commit-bot: I haz the power
5 years, 10 months ago (2015-02-26 09:30:18 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=190890

Powered by Google App Engine
This is Rietveld 408576698