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

Unified Diff: ppapi/cpp/private/platform_verification.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/cpp/private/platform_verification.cc
diff --git a/ppapi/cpp/private/platform_verification.cc b/ppapi/cpp/private/platform_verification.cc
index f90857006963cd83eaf5fb6c07262a129baae388..720c9109d9ff7074e850387e0ee3b4d7151837ca 100644
--- a/ppapi/cpp/private/platform_verification.cc
+++ b/ppapi/cpp/private/platform_verification.cc
@@ -36,15 +36,6 @@ PlatformVerification::PlatformVerification(const InstanceHandle& instance) {
PlatformVerification::~PlatformVerification() {}
-int32_t PlatformVerification::CanChallengePlatform(
- const CompletionCallbackWithOutput<bool>& callback) {
- if (!HasInterface())
- return callback.MayForce(PP_ERROR_NOINTERFACE);
-
- return GetInterface()->CanChallengePlatform(
- pp_resource(), callback.output(), callback.pp_completion_callback());
-}
-
int32_t PlatformVerification::ChallengePlatform(
const Var& service_id,
const Var& challenge,

Powered by Google App Engine
This is Rietveld 408576698