Index: content/browser/renderer_host/pepper/pepper_security_helper.h |
diff --git a/content/browser/renderer_host/pepper/pepper_security_helper.h b/content/browser/renderer_host/pepper/pepper_security_helper.h |
index 4a3cea5874ac8e6a4b154c89fdf6e8c545cacacb..d0a39831324cb998bbb01a2022d9b03ab4dbe1fc 100644 |
--- a/content/browser/renderer_host/pepper/pepper_security_helper.h |
+++ b/content/browser/renderer_host/pepper/pepper_security_helper.h |
@@ -7,15 +7,23 @@ |
#include "base/files/file_path.h" |
#include "content/common/content_export.h" |
+#include "webkit/browser/fileapi/file_system_url.h" |
namespace content { |
-// Helper method that returns whether or not the child process is allowed to |
+// Helper function that returns whether or not the child process is allowed to |
// open the specified |file| with the specified |pp_open_flags|. |
CONTENT_EXPORT bool CanOpenWithPepperFlags(int pp_open_flags, |
int child_id, |
const base::FilePath& file); |
+// Helper function that returns whether or not the child process is allowed to |
+// open the specified file system |url| with the specified |pp_open_flags|. |
+CONTENT_EXPORT bool CanOpenFileSystemURLWithPepperFlags( |
+ int pp_open_flags, |
+ int child_id, |
+ const fileapi::FileSystemURL& url); |
+ |
} // namespace content |
#endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_SECURITY_HELPER_H_ |