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

Unified Diff: ppapi/thunk/ppb_platform_verification_private_thunk.cc

Issue 29943003: Remove CanChallengePlatform() and CheckPlatformState(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove 0.1 usage. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/thunk/ppb_platform_verification_api.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ppapi/thunk/ppb_platform_verification_api.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698