summaryrefslogtreecommitdiffstats
path: root/ppapi/c
diff options
context:
space:
mode:
authordalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-20 01:34:24 +0000
committerdalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-20 01:34:24 +0000
commit3be2f5d5bf937d099ecd7dffec87466124a77a2e (patch)
tree99b1e5dd2d1f890f48a558891b8d115c1bc163e6 /ppapi/c
parent564719c7b7a8b5b1780d220ccaa02f9d7102a1e5 (diff)
downloadchromium_src-3be2f5d5bf937d099ecd7dffec87466124a77a2e.zip
chromium_src-3be2f5d5bf937d099ecd7dffec87466124a77a2e.tar.gz
chromium_src-3be2f5d5bf937d099ecd7dffec87466124a77a2e.tar.bz2
Remove CanChallengePlatform() and CheckPlatformState().
This API did not meet its intended purpose. We've decided to instead just use a real challenge and wait for the response. BUG=307707,309158 TEST=compile, unittests pass. TBR=pastarmovj Review URL: https://codereview.chromium.org/29943003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229648 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c')
-rw-r--r--ppapi/c/private/ppb_platform_verification_private.h30
1 files changed, 6 insertions, 24 deletions
diff --git a/ppapi/c/private/ppb_platform_verification_private.h b/ppapi/c/private/ppb_platform_verification_private.h
index b16d074..17ff1e8 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;
/**
* @}