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

Issue 166273009: PpapiDecryptor: Call NewKeyCB on OnSessionReady(). (Closed)

Created:
6 years, 10 months ago by xhwang
Modified:
6 years, 10 months ago
Reviewers:
ddorwin
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org, tinskip1
Visibility:
Public.

Description

PpapiDecryptor: Call NewKeyCB on OnSessionReady(). Also updated the browser test to test the case where media pipeline starts to ask the CDM to do decryption before the session is fully loaded. BUG=344651 TEST=Updated test. R=ddorwin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251934

Patch Set 1 #

Total comments: 13

Patch Set 2 : comments addressed #

Patch Set 3 : comments addressed #

Total comments: 8

Patch Set 4 : comments addressed #

Patch Set 5 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -18 lines) Patch
M content/renderer/media/crypto/ppapi_decryptor.cc View 1 2 3 2 chunks +13 lines, -6 lines 0 comments Download
M media/cdm/ppapi/external_clear_key/clear_key_cdm.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
M media/cdm/ppapi/external_clear_key/clear_key_cdm.cc View 1 2 3 4 7 chunks +33 lines, -8 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
xhwang
PTAL https://codereview.chromium.org/166273009/diff/1/media/cdm/ppapi/external_clear_key/clear_key_cdm.cc File media/cdm/ppapi/external_clear_key/clear_key_cdm.cc (right): https://codereview.chromium.org/166273009/diff/1/media/cdm/ppapi/external_clear_key/clear_key_cdm.cc#newcode549 media/cdm/ppapi/external_clear_key/clear_key_cdm.cc:549: const int64 kDelayToLoadSessionMs = 500; Ideally we should ...
6 years, 10 months ago (2014-02-18 23:19:15 UTC) #1
xhwang
PTAL
6 years, 10 months ago (2014-02-18 23:19:34 UTC) #2
ddorwin
minor stuff https://codereview.chromium.org/166273009/diff/1/content/renderer/media/crypto/ppapi_decryptor.cc File content/renderer/media/crypto/ppapi_decryptor.cc (right): https://codereview.chromium.org/166273009/diff/1/content/renderer/media/crypto/ppapi_decryptor.cc#newcode350 content/renderer/media/crypto/ppapi_decryptor.cc:350: if (!new_audio_key_cb_.is_null()) Step 3.5 of the update() ...
6 years, 10 months ago (2014-02-19 00:04:09 UTC) #3
xhwang
comments addressed
6 years, 10 months ago (2014-02-19 00:22:53 UTC) #4
xhwang
comments addressed
6 years, 10 months ago (2014-02-19 00:24:13 UTC) #5
xhwang
PTAL again https://codereview.chromium.org/166273009/diff/1/content/renderer/media/crypto/ppapi_decryptor.cc File content/renderer/media/crypto/ppapi_decryptor.cc (right): https://codereview.chromium.org/166273009/diff/1/content/renderer/media/crypto/ppapi_decryptor.cc#newcode350 content/renderer/media/crypto/ppapi_decryptor.cc:350: if (!new_audio_key_cb_.is_null()) On 2014/02/19 00:04:09, ddorwin wrote: ...
6 years, 10 months ago (2014-02-19 00:24:22 UTC) #6
ddorwin
LGTM Some minor issues, but they can be addressed in a future CL if you ...
6 years, 10 months ago (2014-02-19 00:38:12 UTC) #7
xhwang
comments addressed
6 years, 10 months ago (2014-02-19 00:46:29 UTC) #8
xhwang
https://codereview.chromium.org/166273009/diff/20006/content/renderer/media/crypto/ppapi_decryptor.cc File content/renderer/media/crypto/ppapi_decryptor.cc (right): https://codereview.chromium.org/166273009/diff/20006/content/renderer/media/crypto/ppapi_decryptor.cc#newcode350 content/renderer/media/crypto/ppapi_decryptor.cc:350: // Based on the spec, we need to resume ...
6 years, 10 months ago (2014-02-19 00:46:42 UTC) #9
xhwang
The CQ bit was checked by xhwang@chromium.org
6 years, 10 months ago (2014-02-19 00:46:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/166273009/2
6 years, 10 months ago (2014-02-19 00:47:19 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-19 01:04:26 UTC) #12
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=50839
6 years, 10 months ago (2014-02-19 01:04:26 UTC) #13
xhwang
comments addressed
6 years, 10 months ago (2014-02-19 01:05:20 UTC) #14
xhwang
The CQ bit was checked by xhwang@chromium.org
6 years, 10 months ago (2014-02-19 01:05:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/166273009/290001
6 years, 10 months ago (2014-02-19 01:07:12 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-19 02:20:48 UTC) #17
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
6 years, 10 months ago (2014-02-19 02:20:49 UTC) #18
xhwang
6 years, 10 months ago (2014-02-19 02:34:03 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 manually as r251934 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698