Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_var.h |
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_var.h b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_var.h |
index 2ed165d375066134c236080d8b102f231e85a143..3f6094607d80d1c85cedcb181bb97cee9d1ffca7 100644 |
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_var.h |
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_var.h |
@@ -21,9 +21,11 @@ class PluginVar { |
public: |
// Returns an interface pointer suitable to the PPAPI client. |
static const PPB_Var* GetInterface(); |
+ // Returns the 1.0 interface to support backwards-compatibility. |
+ static const PPB_Var_1_0* GetInterface1_0(); |
// String helpers. |
- static PP_Var StringToPPVar(PP_Module module_id, const std::string& str); |
+ static PP_Var StringToPPVar(const std::string& str); |
static std::string PPVarToString(const PP_Var& var); |
// Printing and debugging. |