Index: ppapi/proxy/talk_resource.h |
diff --git a/ppapi/proxy/talk_resource.h b/ppapi/proxy/talk_resource.h |
index c73f458ddddadea14d48c497204ef8347b1e4cce..5fb638ba10160610bf59ecf7eaa739f49941d536 100644 |
--- a/ppapi/proxy/talk_resource.h |
+++ b/ppapi/proxy/talk_resource.h |
@@ -26,11 +26,26 @@ class PPAPI_PROXY_EXPORT TalkResource |
// PPB_Talk_API implementation. |
virtual int32_t GetPermission( |
scoped_refptr<TrackedCallback> callback) OVERRIDE; |
+ virtual int32_t GetRemotingPermission( |
+ scoped_refptr<TrackedCallback> callback) OVERRIDE; |
+ virtual int32_t GetRemotingContinuePermission( |
+ scoped_refptr<TrackedCallback> callback) OVERRIDE; |
+ virtual int32_t StartRemoting(PP_TalkEventCallback event_callback, |
+ void* user_data) OVERRIDE; |
+ virtual void StopRemoting() OVERRIDE; |
private: |
- void GetPermissionReply(const ResourceMessageReplyParams& params); |
+ // PluginResource override. |
+ virtual void OnReplyReceived(const ResourceMessageReplyParams& params, |
+ const IPC::Message& msg) OVERRIDE; |
+ |
+ void OnNotifyEvent(const ResourceMessageReplyParams& params, |
+ PP_TalkEvent event); |
+ void OnCallCompleted(const ResourceMessageReplyParams& params); |
scoped_refptr<TrackedCallback> callback_; |
+ PP_TalkEventCallback event_callback_; |
+ void* event_callback_user_data_; |
DISALLOW_COPY_AND_ASSIGN(TalkResource); |
}; |