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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_var.h

Issue 8826011: Remove PP_Module from parameters for PPB_Var.VarFromUtf8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years 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/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.

Powered by Google App Engine
This is Rietveld 408576698