Index: ppapi/proxy/extensions_common_resource.h |
diff --git a/ppapi/proxy/extensions_common_resource.h b/ppapi/proxy/extensions_common_resource.h |
index 83a2667ca9f8b4ee1edea06528f7e48876218c21..b3ec366a0d9761c9effaf53dc95812b30e9e632d 100644 |
--- a/ppapi/proxy/extensions_common_resource.h |
+++ b/ppapi/proxy/extensions_common_resource.h |
@@ -30,14 +30,30 @@ class ExtensionsCommonResource : public PluginResource, |
virtual thunk::ExtensionsCommon_API* AsExtensionsCommon_API() OVERRIDE; |
// ExtensionsCommon_API implementation. |
- virtual int32_t Call(const std::string& request_name, |
- const std::vector<PP_Var>& input_args, |
- const std::vector<PP_Var*>& output_args, |
- scoped_refptr<TrackedCallback> callback) OVERRIDE; |
- virtual void Post(const std::string& request_name, |
- const std::vector<PP_Var>& args) OVERRIDE; |
+ virtual int32_t CallRenderer( |
+ const std::string& request_name, |
+ const std::vector<PP_Var>& input_args, |
+ const std::vector<PP_Var*>& output_args, |
+ scoped_refptr<TrackedCallback> callback) OVERRIDE; |
+ virtual void PostRenderer(const std::string& request_name, |
+ const std::vector<PP_Var>& args) OVERRIDE; |
+ virtual int32_t CallBrowser(const std::string& request_name, |
+ const std::vector<PP_Var>& input_args, |
+ const std::vector<PP_Var*>& output_args, |
+ scoped_refptr<TrackedCallback> callback) OVERRIDE; |
+ virtual void PostBrowser(const std::string& request_name, |
+ const std::vector<PP_Var>& args) OVERRIDE; |
private: |
+ int32_t CommonCall(Destination dest, |
+ const std::string& request_name, |
+ const std::vector<PP_Var>& input_args, |
+ const std::vector<PP_Var*>& output_args, |
+ scoped_refptr<TrackedCallback> callback); |
+ void CommonPost(Destination dest, |
+ const std::string& request_name, |
+ const std::vector<PP_Var>& args); |
+ |
void OnPluginMsgCallReply(const std::vector<PP_Var*>& output_args, |
scoped_refptr<TrackedCallback> callback, |
const ResourceMessageReplyParams& params, |