1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef PPAPI_CPP_PRIVATE_PLATFORM_VERIFICATION_H_
6 #define PPAPI_CPP_PRIVATE_PLATFORM_VERIFICATION_H_
8 #include "ppapi/cpp/completion_callback.h"
9 #include "ppapi/cpp/resource.h"
16 class PlatformVerification
: public Resource
{
18 explicit PlatformVerification(const InstanceHandle
& instance
);
19 virtual ~PlatformVerification();
21 int32_t ChallengePlatform(const Var
& service_id
,
24 Var
* signed_data_signature
,
25 Var
* platform_key_certificate
,
26 const CompletionCallback
& callback
);
31 #endif // PPAPI_CPP_PRIVATE_PLATFORM_VERIFICATION_H_