Index: trunk/src/content/common/view_messages.h |
=================================================================== |
--- trunk/src/content/common/view_messages.h (revision 233010) |
+++ trunk/src/content/common/view_messages.h (working copy) |
@@ -1231,6 +1231,11 @@ |
// Sent when the worker has started. |
IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated) |
+// The response to ViewHostMsg_AsyncOpenPepperFile. |
+IPC_MESSAGE_ROUTED2(ViewMsg_AsyncOpenPepperFile_ACK, |
+ base::PlatformFileError /* error_code */, |
+ IPC::PlatformFileForTransit /* file descriptor */) |
+ |
// Tells the renderer that the network state has changed and that |
// window.navigator.onLine should be updated for all WebViews. |
IPC_MESSAGE_CONTROL1(ViewMsg_NetworkStateChanged, |
@@ -1925,6 +1930,13 @@ |
int /* routing_id */, |
base::FilePath /* path */) |
+// Opens a Pepper file asynchronously. The response returns a file descriptor |
+// and an error code from base/platform_file.h. |
+IPC_MESSAGE_CONTROL3(ViewHostMsg_AsyncOpenPepperFile, |
+ int /* routing_id */, |
+ base::FilePath /* file path */, |
+ int /* pp_open_flags */) |
+ |
// A renderer sends this to the browser process when it wants to access a PPAPI |
// broker. In contrast to ViewHostMsg_OpenChannelToPpapiBroker, this is called |
// for every connection. |