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

Unified Diff: ppapi/tests/test_platform_verification_private.cc

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/tests/test_platform_verification_private.h ('k') | ppapi/thunk/interfaces_ppb_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_platform_verification_private.cc
diff --git a/ppapi/tests/test_platform_verification_private.cc b/ppapi/tests/test_platform_verification_private.cc
index f68425a4c5c3a2a69283f485efb4695dd60e25e0..978781ae7048bab7c93b44d8f1ef859c825d6497 100644
--- a/ppapi/tests/test_platform_verification_private.cc
+++ b/ppapi/tests/test_platform_verification_private.cc
@@ -18,25 +18,9 @@ TestPlatformVerificationPrivate::TestPlatformVerificationPrivate(
: TestCase(instance) {}
void TestPlatformVerificationPrivate::RunTests(const std::string& filter) {
- RUN_CALLBACK_TEST(
- TestPlatformVerificationPrivate, CanChallengePlatform, filter);
RUN_CALLBACK_TEST(TestPlatformVerificationPrivate, ChallengePlatform, filter);
}
-std::string TestPlatformVerificationPrivate::TestCanChallengePlatform() {
- TestCompletionCallbackWithOutput<bool> callback(
- instance_->pp_instance(), callback_type());
-
- pp::PlatformVerification platform_verification_api(instance_);
- callback.WaitForResult(platform_verification_api.CanChallengePlatform(
- callback.GetCallback()));
- CHECK_CALLBACK_BEHAVIOR(callback);
-
- // Doesn't work on all platforms, so just ensure the function runs.
- ASSERT_EQ(callback.result(), PP_OK);
- PASS();
-}
-
std::string TestPlatformVerificationPrivate::TestChallengePlatform() {
pp::PlatformVerification platform_verification_api(instance_);
« no previous file with comments | « ppapi/tests/test_platform_verification_private.h ('k') | ppapi/thunk/interfaces_ppb_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698