Remove special handling for strings in var serialization.

Previously we had to have a lot of weird string handling because strings needed a PP_Module to be constructed, and because they had different methods for being created in the host and the plugin processes. We've removed all of these limitations, so now we can just delete the whole mess.

Review URL: https://chromiumcodereview.appspot.com/9316123

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120724 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ppapi/proxy/plugin_var_serialization_rules.h b/ppapi/proxy/plugin_var_serialization_rules.h
index 86935053..174c4bb47 100644
--- a/ppapi/proxy/plugin_var_serialization_rules.h
+++ b/ppapi/proxy/plugin_var_serialization_rules.h
@@ -22,17 +22,12 @@
   ~PluginVarSerializationRules();
 
   // VarSerialization implementation.
-  virtual PP_Var SendCallerOwned(const PP_Var& var,
-                                 const std::string** str_ptr_out);
+  virtual PP_Var SendCallerOwned(const PP_Var& var);
   virtual PP_Var BeginReceiveCallerOwned(const PP_Var& var,
-                                         scoped_ptr<std::string> str,
                                          Dispatcher* dispatcher);
   virtual void EndReceiveCallerOwned(const PP_Var& var);
-  virtual PP_Var ReceivePassRef(const PP_Var& var,
-                                scoped_ptr<std::string> str,
-                                Dispatcher* dispatcher);
-  virtual PP_Var BeginSendPassRef(const PP_Var& var,
-                                  const std::string** str_ptr_out);
+  virtual PP_Var ReceivePassRef(const PP_Var& var, Dispatcher* dispatcher);
+  virtual PP_Var BeginSendPassRef(const PP_Var& var);
   virtual void EndSendPassRef(const PP_Var& var, Dispatcher* dispatcher);
   virtual void ReleaseObjectRef(const PP_Var& var);