| Index: ppapi/thunk/ppb_platform_verification_private_thunk.cc
|
| diff --git a/ppapi/thunk/ppb_platform_verification_private_thunk.cc b/ppapi/thunk/ppb_platform_verification_private_thunk.cc
|
| index 74cd360e8da6f8304d688fa3c84ca728f464cdf3..37d842eeb7d2b4d57f598777de9a999acf948064 100644
|
| --- a/ppapi/thunk/ppb_platform_verification_private_thunk.cc
|
| +++ b/ppapi/thunk/ppb_platform_verification_private_thunk.cc
|
| @@ -3,7 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| // From private/ppb_platform_verification_private.idl,
|
| -// modified Thu Sep 12 11:48:28 2013.
|
| +// modified Fri Oct 18 15:02:09 2013.
|
|
|
| #include "ppapi/c/pp_completion_callback.h"
|
| #include "ppapi/c/pp_errors.h"
|
| @@ -34,18 +34,6 @@ PP_Bool IsPlatformVerification(PP_Resource resource) {
|
| return PP_FromBool(enter.succeeded());
|
| }
|
|
|
| -int32_t CanChallengePlatform(PP_Resource instance,
|
| - PP_Bool* can_challenge_platform,
|
| - struct PP_CompletionCallback callback) {
|
| - VLOG(4) << "PPB_PlatformVerification_Private::CanChallengePlatform()";
|
| - EnterResource<PPB_PlatformVerification_API> enter(instance, callback, true);
|
| - if (enter.failed())
|
| - return enter.retval();
|
| - return enter.SetResult(enter.object()->CanChallengePlatform(
|
| - can_challenge_platform,
|
| - enter.callback()));
|
| -}
|
| -
|
| int32_t ChallengePlatform(PP_Resource instance,
|
| struct PP_Var service_id,
|
| struct PP_Var challenge,
|
| @@ -66,19 +54,18 @@ int32_t ChallengePlatform(PP_Resource instance,
|
| enter.callback()));
|
| }
|
|
|
| -const PPB_PlatformVerification_Private_0_1
|
| - g_ppb_platformverification_private_thunk_0_1 = {
|
| +const PPB_PlatformVerification_Private_0_2
|
| + g_ppb_platformverification_private_thunk_0_2 = {
|
| &Create,
|
| &IsPlatformVerification,
|
| - &CanChallengePlatform,
|
| &ChallengePlatform
|
| };
|
|
|
| } // namespace
|
|
|
| -const PPB_PlatformVerification_Private_0_1*
|
| - GetPPB_PlatformVerification_Private_0_1_Thunk() {
|
| - return &g_ppb_platformverification_private_thunk_0_1;
|
| +const PPB_PlatformVerification_Private_0_2*
|
| + GetPPB_PlatformVerification_Private_0_2_Thunk() {
|
| + return &g_ppb_platformverification_private_thunk_0_2;
|
| }
|
|
|
| } // namespace thunk
|
|
|