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

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 StatisticsProvider 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
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..4cfced69560958c7445a7e2d7729e0fb088bea7c 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 13:55:50 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,
@@ -70,7 +58,6 @@ const PPB_PlatformVerification_Private_0_1
g_ppb_platformverification_private_thunk_0_1 = {
&Create,
&IsPlatformVerification,
- &CanChallengePlatform,
&ChallengePlatform
};

Powered by Google App Engine
This is Rietveld 408576698