diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-03 16:52:53 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-03 16:52:53 +0000 |
commit | aedf21e6299d270c7e044e2f9c2f7f3135551c7c (patch) | |
tree | e0c42a85c508647004189eb5ae165cf922601327 /chrome/renderer/webplugin_delegate_pepper.h | |
parent | b2d8b5e8189485482b85e6d1a21d10d7779a4d3c (diff) | |
download | chromium_src-aedf21e6299d270c7e044e2f9c2f7f3135551c7c.zip chromium_src-aedf21e6299d270c7e044e2f9c2f7f3135551c7c.tar.gz chromium_src-aedf21e6299d270c7e044e2f9c2f7f3135551c7c.tar.bz2 |
Add the plumbing and test code for plugins opening files from the sandbox. This
does not implement the actual opening of the files (currently the chain ends in
resource_message_filter.cc), I will do that separately with some additional
security review. This current patch just gets the synchronous request to the
browser and returns a NULL result.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/340050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30819 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/webplugin_delegate_pepper.h')
-rw-r--r-- | chrome/renderer/webplugin_delegate_pepper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/renderer/webplugin_delegate_pepper.h b/chrome/renderer/webplugin_delegate_pepper.h index 214ff43..caba02a 100644 --- a/chrome/renderer/webplugin_delegate_pepper.h +++ b/chrome/renderer/webplugin_delegate_pepper.h @@ -99,6 +99,8 @@ class WebPluginDelegatePepper : public webkit_glue::WebPluginDelegate { NPRenderContext* context); virtual NPError FlushRenderContext(NPRenderContext* context); + virtual NPError OpenFileInSandbox(const char* file_name, void** handle); + // Tells the plugin about the current state of the window. // See NPAPI NPP_SetWindow for more information. void WindowlessSetWindow(bool force_set_window); |