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

Unified Diff: content/browser/renderer_host/pepper/pepper_security_helper.h

Issue 23760004: ChildProcessSecurityPolicy: Port FileAPIMessageFilter to use new checks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/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..c7f8febd74c13948d49b4e66c4beb67f162b01c4 100644
--- a/content/browser/renderer_host/pepper/pepper_security_helper.h
+++ b/content/browser/renderer_host/pepper/pepper_security_helper.h
@@ -7,6 +7,7 @@
#include "base/files/file_path.h"
#include "content/common/content_export.h"
+#include "webkit/browser/fileapi/file_system_url.h"
namespace content {
@@ -16,6 +17,13 @@ CONTENT_EXPORT bool CanOpenWithPepperFlags(int pp_open_flags,
int child_id,
const base::FilePath& file);
+// Helper method that returns whether or not the child process is allowed to
Tom Sepez 2013/09/04 22:22:45 Uh ... this and the above look like functions rath
tommycli 2013/09/04 23:21:27 Done.
+// 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_

Powered by Google App Engine
This is Rietveld 408576698