| Index: ppapi/proxy/platform_verification_private_resource.cc
|
| diff --git a/ppapi/proxy/platform_verification_private_resource.cc b/ppapi/proxy/platform_verification_private_resource.cc
|
| index 4da3ca0f34ee216696c8d0decc8e8db75f7fcf0f..d361f4f82796314f94e8cc480ea59695bf368312 100644
|
| --- a/ppapi/proxy/platform_verification_private_resource.cc
|
| +++ b/ppapi/proxy/platform_verification_private_resource.cc
|
| @@ -30,35 +30,6 @@ PlatformVerificationPrivateResource::AsPPB_PlatformVerification_API() {
|
| return this;
|
| }
|
|
|
| -int32_t PlatformVerificationPrivateResource::CanChallengePlatform(
|
| - PP_Bool* can_challenge_platform,
|
| - const scoped_refptr<TrackedCallback>& callback) {
|
| - if (!can_challenge_platform)
|
| - return PP_ERROR_BADARGUMENT;
|
| -
|
| - Call<PpapiHostMsg_PlatformVerification_CanChallengePlatformReply>(
|
| - BROWSER, PpapiHostMsg_PlatformVerification_CanChallengePlatform(),
|
| - base::Bind(
|
| - &PlatformVerificationPrivateResource::OnCanChallengePlatformReply,
|
| - base::Unretained(this), can_challenge_platform, callback));
|
| -
|
| - return PP_OK_COMPLETIONPENDING;
|
| -}
|
| -
|
| -void PlatformVerificationPrivateResource::OnCanChallengePlatformReply(
|
| - PP_Bool* can_challenge_platform,
|
| - const scoped_refptr<TrackedCallback>& callback,
|
| - const ResourceMessageReplyParams& params,
|
| - bool can_challenge_platform_response) {
|
| - if (!TrackedCallback::IsPending(callback) ||
|
| - TrackedCallback::IsScheduledToRun(callback)) {
|
| - return;
|
| - }
|
| -
|
| - *can_challenge_platform = PP_FromBool(can_challenge_platform_response);
|
| - callback->Run(params.result());
|
| -}
|
| -
|
| int32_t PlatformVerificationPrivateResource::ChallengePlatform(
|
| const PP_Var& service_id,
|
| const PP_Var& challenge,
|
|
|