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

Issue 132823005: Schedule session initialization in MediaKeys. (Closed)

Created:
6 years, 11 months ago by xhwang
Modified:
6 years, 11 months ago
CC:
blink-reviews, feature-media-reviews_chromium.org, philipj_slow
Base URL:
https://chromium.googlesource.com/chromium/blink.git@rename_close_gkr
Visibility:
Public.

Description

Schedule session initialization in MediaKeys. BUG=224786 TEST=none Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165137

Patch Set 1 : Initial patch set. #

Total comments: 8

Patch Set 2 : comments addressed #

Patch Set 3 : comments addressed #

Total comments: 12

Patch Set 4 : #

Total comments: 10

Patch Set 5 : comments addressed #

Total comments: 4

Patch Set 6 : #

Total comments: 1

Patch Set 7 : #

Patch Set 8 : rebase #

Patch Set 9 : drop Default=Undefined #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -60 lines) Patch
M LayoutTests/media/encrypted-media/encrypted-media-v2-syntax.html View 1 2 3 4 5 6 3 chunks +20 lines, -2 lines 0 comments Download
M LayoutTests/media/encrypted-media/encrypted-media-v2-syntax-expected.txt View 1 2 3 4 5 6 2 chunks +9 lines, -2 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeySession.h View 1 2 3 4 5 6 7 3 chunks +2 lines, -13 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeySession.cpp View 1 2 3 4 5 6 7 3 chunks +15 lines, -26 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeys.h View 1 2 3 4 4 chunks +18 lines, -2 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeys.cpp View 1 2 3 4 5 chunks +26 lines, -14 lines 0 comments Download
M Source/modules/encryptedmedia/MediaKeys.idl View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 15 (0 generated)
xhwang
PTAL
6 years, 11 months ago (2014-01-11 02:25:59 UTC) #1
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/132823005/diff/1/Source/modules/encryptedmedia/MediaKeySession.cpp File Source/modules/encryptedmedia/MediaKeySession.cpp (right): https://codereview.chromium.org/132823005/diff/1/Source/modules/encryptedmedia/MediaKeySession.cpp#newcode82 Source/modules/encryptedmedia/MediaKeySession.cpp:82: void MediaKeySession::initializeNewSession(const String& mimeType, Uint8Array* initData) nit: Make initData ...
6 years, 11 months ago (2014-01-13 18:35:36 UTC) #2
xhwang
comments addressed
6 years, 11 months ago (2014-01-13 19:05:46 UTC) #3
xhwang
PTAL again https://codereview.chromium.org/132823005/diff/1/Source/modules/encryptedmedia/MediaKeySession.cpp File Source/modules/encryptedmedia/MediaKeySession.cpp (right): https://codereview.chromium.org/132823005/diff/1/Source/modules/encryptedmedia/MediaKeySession.cpp#newcode82 Source/modules/encryptedmedia/MediaKeySession.cpp:82: void MediaKeySession::initializeNewSession(const String& mimeType, Uint8Array* initData) On ...
6 years, 11 months ago (2014-01-13 19:06:02 UTC) #4
xhwang
comments addressed
6 years, 11 months ago (2014-01-13 19:24:03 UTC) #5
acolwell GONE FROM CHROMIUM
lgtm % nit https://codereview.chromium.org/132823005/diff/260001/Source/modules/encryptedmedia/MediaKeySession.cpp File Source/modules/encryptedmedia/MediaKeySession.cpp (right): https://codereview.chromium.org/132823005/diff/260001/Source/modules/encryptedmedia/MediaKeySession.cpp#newcode82 Source/modules/encryptedmedia/MediaKeySession.cpp:82: void MediaKeySession::initializeNewSession(const String& mimeType, Uint8Array& initData) ...
6 years, 11 months ago (2014-01-13 19:37:05 UTC) #6
ddorwin
Code comments in PS3. Test comments in PS4. https://codereview.chromium.org/132823005/diff/260001/Source/modules/encryptedmedia/MediaKeySession.cpp File Source/modules/encryptedmedia/MediaKeySession.cpp (right): https://codereview.chromium.org/132823005/diff/260001/Source/modules/encryptedmedia/MediaKeySession.cpp#newcode101 Source/modules/encryptedmedia/MediaKeySession.cpp:101: m_pendingKeys.append(response); ...
6 years, 11 months ago (2014-01-13 20:20:56 UTC) #7
xhwang
PTAL again https://codereview.chromium.org/132823005/diff/260001/Source/modules/encryptedmedia/MediaKeySession.cpp File Source/modules/encryptedmedia/MediaKeySession.cpp (right): https://codereview.chromium.org/132823005/diff/260001/Source/modules/encryptedmedia/MediaKeySession.cpp#newcode82 Source/modules/encryptedmedia/MediaKeySession.cpp:82: void MediaKeySession::initializeNewSession(const String& mimeType, Uint8Array& initData) On ...
6 years, 11 months ago (2014-01-14 04:04:11 UTC) #8
xhwang
https://codereview.chromium.org/132823005/diff/350001/LayoutTests/media/encrypted-media/encrypted-media-v2-syntax.html File LayoutTests/media/encrypted-media/encrypted-media-v2-syntax.html (right): https://codereview.chromium.org/132823005/diff/350001/LayoutTests/media/encrypted-media/encrypted-media-v2-syntax.html#newcode55 LayoutTests/media/encrypted-media/encrypted-media-v2-syntax.html:55: testExpected('mediaKeySession.error', null); Actually this doesn't work. We need to ...
6 years, 11 months ago (2014-01-15 01:33:07 UTC) #9
ddorwin
lgtm % comments https://codereview.chromium.org/132823005/diff/350001/LayoutTests/media/encrypted-media/encrypted-media-v2-syntax.html File LayoutTests/media/encrypted-media/encrypted-media-v2-syntax.html (right): https://codereview.chromium.org/132823005/diff/350001/LayoutTests/media/encrypted-media/encrypted-media-v2-syntax.html#newcode55 LayoutTests/media/encrypted-media/encrypted-media-v2-syntax.html:55: testExpected('mediaKeySession.error', null); On 2014/01/15 01:33:08, xhwang ...
6 years, 11 months ago (2014-01-15 01:41:01 UTC) #10
xhwang
https://codereview.chromium.org/132823005/diff/530001/LayoutTests/media/encrypted-media/encrypted-media-v2-syntax.html File LayoutTests/media/encrypted-media/encrypted-media-v2-syntax.html (right): https://codereview.chromium.org/132823005/diff/530001/LayoutTests/media/encrypted-media/encrypted-media-v2-syntax.html#newcode61 LayoutTests/media/encrypted-media/encrypted-media-v2-syntax.html:61: waitForEvent('webkitkeyerror', checkError, true, true, mediaKeySession); FYI, this works. But ...
6 years, 11 months ago (2014-01-15 02:14:48 UTC) #11
xhwang
https://codereview.chromium.org/132823005/diff/350001/Source/modules/encryptedmedia/MediaKeys.idl File Source/modules/encryptedmedia/MediaKeys.idl (right): https://codereview.chromium.org/132823005/diff/350001/Source/modules/encryptedmedia/MediaKeys.idl#newcode31 Source/modules/encryptedmedia/MediaKeys.idl:31: [CallWith=ExecutionContext, RaisesException] MediaKeySession createSession([Default=Undefined] DOMString type, [Default=Undefined] Uint8Array initData); ...
6 years, 11 months ago (2014-01-15 02:22:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/132823005/500008
6 years, 11 months ago (2014-01-15 02:28:34 UTC) #13
ddorwin
LGTM. One nit renaming. https://codereview.chromium.org/132823005/diff/500008/Source/modules/encryptedmedia/MediaKeys.idl File Source/modules/encryptedmedia/MediaKeys.idl (right): https://codereview.chromium.org/132823005/diff/500008/Source/modules/encryptedmedia/MediaKeys.idl#newcode31 Source/modules/encryptedmedia/MediaKeys.idl:31: [CallWith=ExecutionContext, RaisesException] MediaKeySession createSession(DOMString type, ...
6 years, 11 months ago (2014-01-15 02:30:30 UTC) #14
commit-bot: I haz the power
6 years, 11 months ago (2014-01-15 15:43:34 UTC) #15
Message was sent while issue was closed.
Change committed as 165137

Powered by Google App Engine
This is Rietveld 408576698