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

Unified Diff: ppapi/host/ppapi_host.h

Issue 119853003: [PPAPI] Implement an IOStreamResource for data transmission between plugin and renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 7 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/host/ppapi_host.h
diff --git a/ppapi/host/ppapi_host.h b/ppapi/host/ppapi_host.h
index 5a7c5c45c2a495c4e237030442741c6f67e67382..de4ca41b16ca13ef54805ead3d118d73dc7f202e 100644
--- a/ppapi/host/ppapi_host.h
+++ b/ppapi/host/ppapi_host.h
@@ -24,6 +24,7 @@ namespace ppapi {
namespace proxy {
class ResourceMessageCallParams;
class ResourceMessageReplyParams;
+class SerializedHandle;
}
namespace host {
@@ -61,6 +62,12 @@ class PPAPI_HOST_EXPORT PpapiHost : public IPC::Sender, public IPC::Listener {
// Sends the given unsolicited reply message to the plugin.
void SendUnsolicitedReply(PP_Resource resource, const IPC::Message& msg);
+ // Similar to SendUnsolicitedReply, but it support send a file handler.
bbudge 2013/12/31 00:51:53 s/support send/supports sending s/file handler/fil
Peng 2013/12/31 23:33:54 Done.
+ void SendUnsolicitedReplyWithHandle(
+ PP_Resource resource,
+ const IPC::Message& msg,
+ const ppapi::proxy::SerializedHandle& handle);
+
// Create a ResourceHost with the given |nested_msg|.
scoped_ptr<ResourceHost> CreateResourceHost(
const proxy::ResourceMessageCallParams& params,

Powered by Google App Engine
This is Rietveld 408576698