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

Unified Diff: tests/ppapi_test_lib/test_interface.h

Issue 7292002: Remove plugin connection to PPAPI scriptable objects (var deprecated). Also (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 5 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: tests/ppapi_test_lib/test_interface.h
===================================================================
--- tests/ppapi_test_lib/test_interface.h (revision 5984)
+++ tests/ppapi_test_lib/test_interface.h (working copy)
@@ -41,7 +41,6 @@
// }
//
// void SetupTests() {
-// RegisterScriptableTest("TestFooDeprecated", TestPPBFooDeprecated);
// RegisterTest("TestPPBFoo", TestPPBFoo);
// }
//
@@ -71,7 +70,6 @@
////////////////////////////////////////////////////////////////////////////////
// Use RegisterTest() to register each TestFunction.
-// Use RegisterScriptableTest() to register each ScriptableTestFunction.
void SetupTests();
// Use RegisterPluginInterface() to register custom PPP_ interfaces other than
// PPP_Instance that is required and provided by default.
@@ -86,12 +84,6 @@
typedef void (*TestFunction)();
void RegisterTest(nacl::string test_name, TestFunction test_function);
-// DEPRECATED: Registers test_function, so it is callable from JS
-// using plugin.test_name().
-typedef PP_Var (*ScriptableTestFunction)();
-void RegisterScriptableTest(nacl::string test_name,
- ScriptableTestFunction test_function);
-
// Registers ppp_interface, so it is returned by PPP_GetInterface().
void RegisterPluginInterface(const char* interface_name,
const void* ppp_interface);

Powered by Google App Engine
This is Rietveld 408576698