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

Unified Diff: content/common/view_messages.h

Issue 19723010: Pepper Message Filters: Port to use explicit permission grants in ChildProcessSecurityPolicy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0044-write-support-remove-child-process-security-policy-bitmask-usage
Patch Set: Created 7 years, 5 months 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: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index e977349e9669fd8aab1fe863c5e3e27e583884c9..5b0ecd658a34ca6fd6cd935297be3995bb5ab9dd 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1198,8 +1198,8 @@ IPC_MESSAGE_ROUTED1(ViewMsg_SetActive,
// Sent when the worker has started.
IPC_MESSAGE_ROUTED0(ViewMsg_WorkerCreated)
-// The response to ViewHostMsg_AsyncOpenFile.
-IPC_MESSAGE_ROUTED3(ViewMsg_AsyncOpenFile_ACK,
+// The response to ViewHostMsg_AsyncOpenPepperFile.
+IPC_MESSAGE_ROUTED3(ViewMsg_AsyncOpenPepperFile_ACK,
base::PlatformFileError /* error_code */,
IPC::PlatformFileForTransit /* file descriptor */,
int /* message_id */)
@@ -1892,6 +1892,14 @@ IPC_MESSAGE_CONTROL3(ViewHostMsg_OpenChannelToPpapiBroker,
int /* request_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_ROUTED3(ViewHostMsg_AsyncOpenPepperFile,
+ base::FilePath /* file path */,
+ int /* pp_open_flags */,
+ int /* message_id */)
+
jam 2013/07/30 16:07:12 nit: extra line
tommycli 2013/07/30 17:52:41 Done.
+
// 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.
@@ -2072,13 +2080,6 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_DidOverscroll,
gfx::Vector2dF /* accumulated_overscroll */,
gfx::Vector2dF /* current_fling_velocity */)
-// Opens a file asynchronously. The response returns a file descriptor
-// and an error code from base/platform_file.h.
-IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile,
- base::FilePath /* file path */,
- int /* flags */,
- int /* message_id */)
-
// Reply to a snapshot request containing whether snapshotting succeeded and the
// SkBitmap if it succeeded.
IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot,

Powered by Google App Engine
This is Rietveld 408576698