diff options
author | raymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-29 02:13:20 +0000 |
---|---|---|
committer | raymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-29 02:13:20 +0000 |
commit | bb92b01ef277bc196752b4041c2388c7be671bce (patch) | |
tree | 17be285ac5dd7796ca05db123be46c2233042290 /ppapi/proxy/resource_message_test_sink.h | |
parent | b24c9186a104cae6ed6c6f4aca3deb9b660fa865 (diff) | |
download | chromium_src-bb92b01ef277bc196752b4041c2388c7be671bce.zip chromium_src-bb92b01ef277bc196752b4041c2388c7be671bce.tar.gz chromium_src-bb92b01ef277bc196752b4041c2388c7be671bce.tar.bz2 |
Implement the plugin side of the PPB_PDF proxy.
Review URL: https://chromiumcodereview.appspot.com/12646013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191264 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/resource_message_test_sink.h')
-rw-r--r-- | ppapi/proxy/resource_message_test_sink.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ppapi/proxy/resource_message_test_sink.h b/ppapi/proxy/resource_message_test_sink.h index f5f97cf..cbbece3 100644 --- a/ppapi/proxy/resource_message_test_sink.h +++ b/ppapi/proxy/resource_message_test_sink.h @@ -14,6 +14,7 @@ namespace proxy { class ResourceMessageCallParams; class ResourceMessageReplyParams; +class SerializedHandle; // Extends IPC::TestSink to add extra capabilities for searching for and // decoding resource messages. @@ -77,10 +78,17 @@ class ResourceSyncCallHandler : public IPC::Listener { IPC::Message last_handled_msg() { return last_handled_msg_; } + // Sets a handle to be appended to the ReplyParams. The pointer is owned by + // the caller. + void set_serialized_handle(const SerializedHandle* serialized_handle) { + serialized_handle_ = serialized_handle; + } + private: ResourceMessageTestSink* test_sink_; uint32 incoming_type_; int32_t result_; + const SerializedHandle* serialized_handle_; // Non-owning pointer. IPC::Message reply_msg_; IPC::Message last_handled_msg_; }; |