CdmAdapter: Allow parallel SendPlatformChallenge() calls.
commitca9f19e77bb9eb529c4ce8ecda4fe2d24edca274
authorxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 17 Jul 2014 06:07:18 +0000 (17 06:07 +0000)
committerxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 17 Jul 2014 06:07:18 +0000 (17 06:07 +0000)
treea7b1a317fdbecba5b61ab5d30e58620f42318753
parent6f7b4e45f798c5ac96cbcef785dfca0fa273e6c8
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.

Review URL: https://codereview.chromium.org/393713003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283651 0039d316-1c4b-4281-b951-d872f2087c98
media/cdm/ppapi/cdm_adapter.cc
media/cdm/ppapi/cdm_adapter.h