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

Unified Diff: chrome/common/render_messages_internal.h

Issue 340050: Add the plumbing and test code for plugins opening files from the sandbox. Th... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/webplugin_delegate_pepper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_internal.h
===================================================================
--- chrome/common/render_messages_internal.h (revision 30698)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -781,6 +781,13 @@
bool /* on or off */)
#endif
+ // Opens the given file for the sandboxed plugin, returning a handle
+ // duplicated into the destination process. On error, or if the file is not
+ // permitted by the security policy, the response will contain a 0 handle.
+ IPC_SYNC_MESSAGE_CONTROL1_1(ViewMsg_OpenFileForPlugin,
+ FilePath, /* file_name */
+ ViewMsg_OpenFileForPluginResponse_Params)
+
//---------------------------------------------------------------------------
// Utility process messages:
// These are messages from the browser to the utility process. They're here
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/webplugin_delegate_pepper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698