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

Issue 393713003: CdmAdapter: Allow parallel SendPlatformChallenge() calls. (Closed)

Created:
6 years, 5 months ago by xhwang
Modified:
6 years, 5 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, yusukes+watch_chromium.org, tzik, binji+watch_chromium.org, raymes+watch_chromium.org, eme-reviews_chromium.org, teravest+watch_chromium.org, nfullagar1, piman+watch_chromium.org, noelallen1, ihf+watch_chromium.org, ddorwin
Project:
chromium
Visibility:
Public.

Description

CdmAdapter: Allow parallel SendPlatformChallenge() calls. Previously CdmAdapter only allows one outstanding SendPlatformChallenge() call. However, CDM actually needs to make parallel SendPlatformChallenge() calls. This CL fixes CdmAdapter to allow this. BUG=393722 TEST=Tested on ChromeOS build on Linux with hack in PepperPlatformVerificationMessageFilter to return faked challenge platform reply. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283651

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove member variables. #

Total comments: 5

Patch Set 3 : rebase only #

Patch Set 4 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -35 lines) Patch
M media/cdm/ppapi/cdm_adapter.h View 1 2 3 1 chunk +9 lines, -9 lines 0 comments Download
M media/cdm/ppapi/cdm_adapter.cc View 1 2 3 chunks +24 lines, -26 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
xhwang
See bug for more background info. dalecurtis: PTAL dmichael: PTAL from pepper's perspective. I want ...
6 years, 5 months ago (2014-07-15 01:35:50 UTC) #1
DaleCurtis
I think this would only work if sends and receives, specifically the point at which ...
6 years, 5 months ago (2014-07-15 19:22:39 UTC) #2
xhwang
On 2014/07/15 19:22:39, DaleCurtis wrote: > I think this would only work if sends and ...
6 years, 5 months ago (2014-07-15 20:18:42 UTC) #3
dmichael (off chromium)
On 2014/07/15 20:18:42, xhwang wrote: > On 2014/07/15 19:22:39, DaleCurtis wrote: > > I think ...
6 years, 5 months ago (2014-07-15 20:58:47 UTC) #4
xhwang
On 2014/07/15 20:58:47, dmichael wrote: > On 2014/07/15 20:18:42, xhwang wrote: > > On 2014/07/15 ...
6 years, 5 months ago (2014-07-15 21:44:47 UTC) #5
dmichael (off chromium)
Alternate suggestion. But I'm happy to go with what you have if you and dalecurtis ...
6 years, 5 months ago (2014-07-15 21:59:52 UTC) #6
DaleCurtis
https://codereview.chromium.org/393713003/diff/1/media/cdm/ppapi/cdm_adapter.cc File media/cdm/ppapi/cdm_adapter.cc (right): https://codereview.chromium.org/393713003/diff/1/media/cdm/ppapi/cdm_adapter.cc#newcode1015 media/cdm/ppapi/cdm_adapter.cc:1015: callback_factory_.NewCallback(&CdmAdapter::SendPlatformChallengeDone)); On 2014/07/15 21:59:52, dmichael wrote: > Do you ...
6 years, 5 months ago (2014-07-15 22:04:31 UTC) #7
xhwang
On 2014/07/15 21:59:52, dmichael wrote: > Alternate suggestion. But I'm happy to go with what ...
6 years, 5 months ago (2014-07-15 22:05:37 UTC) #8
xhwang
dmichael's trick is working! Also I used link_ptr so that I don't have to manually ...
6 years, 5 months ago (2014-07-16 00:13:18 UTC) #9
dmichael (off chromium)
https://codereview.chromium.org/393713003/diff/20001/media/cdm/ppapi/cdm_adapter.cc File media/cdm/ppapi/cdm_adapter.cc (right): https://codereview.chromium.org/393713003/diff/20001/media/cdm/ppapi/cdm_adapter.cc#newcode1173 media/cdm/ppapi/cdm_adapter.cc:1173: cdm_->OnPlatformChallengeResponse(platform_challenge_response); One thing I just noticed... OnPlatformChallengeResponse here has ...
6 years, 5 months ago (2014-07-16 15:21:33 UTC) #10
xhwang
rebase only
6 years, 5 months ago (2014-07-16 16:07:19 UTC) #11
xhwang
comments addressed
6 years, 5 months ago (2014-07-16 16:14:21 UTC) #12
xhwang
PTAL again https://codereview.chromium.org/393713003/diff/20001/media/cdm/ppapi/cdm_adapter.cc File media/cdm/ppapi/cdm_adapter.cc (right): https://codereview.chromium.org/393713003/diff/20001/media/cdm/ppapi/cdm_adapter.cc#newcode1173 media/cdm/ppapi/cdm_adapter.cc:1173: cdm_->OnPlatformChallengeResponse(platform_challenge_response); On 2014/07/16 15:21:32, dmichael wrote: > ...
6 years, 5 months ago (2014-07-16 16:14:31 UTC) #13
dmichael (off chromium)
lgtm
6 years, 5 months ago (2014-07-16 16:16:28 UTC) #14
DaleCurtis
lgtm
6 years, 5 months ago (2014-07-16 17:46:28 UTC) #15
xhwang
The CQ bit was checked by xhwang@chromium.org
6 years, 5 months ago (2014-07-16 17:47:17 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/393713003/60001
6 years, 5 months ago (2014-07-16 17:49:12 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_clang_dbg on tryserver.chromium ...
6 years, 5 months ago (2014-07-16 18:43:55 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-16 21:42:22 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_x64_rel/builds/31322)
6 years, 5 months ago (2014-07-16 21:42:24 UTC) #20
xhwang
The CQ bit was checked by xhwang@chromium.org
6 years, 5 months ago (2014-07-16 21:47:53 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/393713003/60001
6 years, 5 months ago (2014-07-16 21:53:49 UTC) #22
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 06:07:24 UTC) #23
Message was sent while issue was closed.
Change committed as 283651

Powered by Google App Engine
This is Rietveld 408576698