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

Side by Side Diff: ppapi/cpp/private/platform_verification.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_CPP_PRIVATE_PLATFORM_VERIFICATION_H_ 5 #ifndef PPAPI_CPP_PRIVATE_PLATFORM_VERIFICATION_H_
6 #define PPAPI_CPP_PRIVATE_PLATFORM_VERIFICATION_H_ 6 #define PPAPI_CPP_PRIVATE_PLATFORM_VERIFICATION_H_
7 7
8 #include "ppapi/cpp/completion_callback.h" 8 #include "ppapi/cpp/completion_callback.h"
9 #include "ppapi/cpp/resource.h" 9 #include "ppapi/cpp/resource.h"
10 10
11 namespace pp { 11 namespace pp {
12 12
13 class InstanceHandle; 13 class InstanceHandle;
14 class Var; 14 class Var;
15 15
16 class PlatformVerification : public Resource { 16 class PlatformVerification : public Resource {
17 public: 17 public:
18 explicit PlatformVerification(const InstanceHandle& instance); 18 explicit PlatformVerification(const InstanceHandle& instance);
19 virtual ~PlatformVerification(); 19 virtual ~PlatformVerification();
20 20
21 int32_t CanChallengePlatform(
22 const CompletionCallbackWithOutput<bool>& callback);
23 int32_t ChallengePlatform(const Var& service_id, 21 int32_t ChallengePlatform(const Var& service_id,
24 const Var& challenge, 22 const Var& challenge,
25 Var* signed_data, 23 Var* signed_data,
26 Var* signed_data_signature, 24 Var* signed_data_signature,
27 Var* platform_key_certificate, 25 Var* platform_key_certificate,
28 const CompletionCallback& callback); 26 const CompletionCallback& callback);
29 }; 27 };
30 28
31 } // namespace pp 29 } // namespace pp
32 30
33 #endif // PPAPI_CPP_PRIVATE_PLATFORM_VERIFICATION_H_ 31 #endif // PPAPI_CPP_PRIVATE_PLATFORM_VERIFICATION_H_
OLDNEW
« no previous file with comments | « ppapi/c/private/ppb_platform_verification_private.h ('k') | ppapi/cpp/private/platform_verification.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698