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

Unified Diff: ppapi/c/private/ppb_platform_verification_private.h

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/api/private/ppb_platform_verification_private.idl ('k') | ppapi/cpp/private/platform_verification.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/private/ppb_platform_verification_private.h
diff --git a/ppapi/c/private/ppb_platform_verification_private.h b/ppapi/c/private/ppb_platform_verification_private.h
index b16d074cfaef810c88275d5a0995abf797139d24..17ff1e82927acfc16d0ea2963e3fda908939110f 100644
--- a/ppapi/c/private/ppb_platform_verification_private.h
+++ b/ppapi/c/private/ppb_platform_verification_private.h
@@ -4,7 +4,7 @@
*/
/* From private/ppb_platform_verification_private.idl,
- * modified Thu Sep 12 11:48:28 2013.
+ * modified Fri Oct 18 15:02:09 2013.
*/
#ifndef PPAPI_C_PRIVATE_PPB_PLATFORM_VERIFICATION_PRIVATE_H_
@@ -18,10 +18,10 @@
#include "ppapi/c/pp_stdint.h"
#include "ppapi/c/pp_var.h"
-#define PPB_PLATFORMVERIFICATION_PRIVATE_INTERFACE_0_1 \
- "PPB_PlatformVerification_Private;0.1"
+#define PPB_PLATFORMVERIFICATION_PRIVATE_INTERFACE_0_2 \
+ "PPB_PlatformVerification_Private;0.2"
#define PPB_PLATFORMVERIFICATION_PRIVATE_INTERFACE \
- PPB_PLATFORMVERIFICATION_PRIVATE_INTERFACE_0_1
+ PPB_PLATFORMVERIFICATION_PRIVATE_INTERFACE_0_2
/**
* @file
@@ -39,7 +39,7 @@
* services to verify that the underlying platform is trusted. An example of a
* trusted platform is a Chrome OS device in verified boot mode.
*/
-struct PPB_PlatformVerification_Private_0_1 {
+struct PPB_PlatformVerification_Private_0_2 {
/**
* Create() creates a <code>PPB_PlatformVerification_Private</code> object.
*
@@ -65,24 +65,6 @@ struct PPB_PlatformVerification_Private_0_1 {
*/
PP_Bool (*IsPlatformVerification)(PP_Resource resource);
/**
- * Check if the underlying host platform can be challenged; i.e., verified as
- * a trusted platform. Useful for avoiding unnecessary work on platforms
- * which will always fail; i.e. dev mode Chrome OS.
- *
- * @param[out] can_challenge_platform A <code>PP_Bool</code> which is set to
- * <code>PP_TRUE</code> if a platform challenge might pass and
- * <code>PP_FALSE</code> if it definitely won't.
- *
- * @param[in] callback A <code>PP_CompletionCallback</code> to be called after
- * the method has been completed. This callback will only run if the return
- * code is <code>PP_OK_COMPLETIONPENDING</code>.
- *
- * @return An int32_t containing an error code from <code>pp_errors.h</code>.
- */
- int32_t (*CanChallengePlatform)(PP_Resource instance,
- PP_Bool* can_challenge_platform,
- struct PP_CompletionCallback callback);
- /**
* Requests a platform challenge for a given service id.
*
* @param[in] service_id A <code>PP_Var</code> of type
@@ -118,7 +100,7 @@ struct PPB_PlatformVerification_Private_0_1 {
struct PP_CompletionCallback callback);
};
-typedef struct PPB_PlatformVerification_Private_0_1
+typedef struct PPB_PlatformVerification_Private_0_2
PPB_PlatformVerification_Private;
/**
* @}
« no previous file with comments | « ppapi/api/private/ppb_platform_verification_private.idl ('k') | ppapi/cpp/private/platform_verification.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698