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

Unified Diff: content/child/fileapi/file_system_dispatcher.h

Issue 23760004: ChildProcessSecurityPolicy: Port FileAPIMessageFilter to use new checks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: apply kinuko suggestions on reducing sloc bloat 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/child/fileapi/file_system_dispatcher.h
diff --git a/content/child/fileapi/file_system_dispatcher.h b/content/child/fileapi/file_system_dispatcher.h
index e0260fda17e2274f9e30bf3c457f4b81c5e76e8c..0ea06014ee0feea6553325602051a8813f45b7c5 100644
--- a/content/child/fileapi/file_system_dispatcher.h
+++ b/content/child/fileapi/file_system_dispatcher.h
@@ -115,10 +115,10 @@ class FileSystemDispatcher : public IPC::Listener {
// This returns a raw open PlatformFile, unlike the above, which are
// self-contained operations.
- void OpenFile(const GURL& file_path,
- int file_flags, // passed to FileUtilProxy::CreateOrOpen
- const OpenFileCallback& success_callback,
- const StatusCallback& error_callback);
+ void OpenPepperFile(const GURL& file_path,
+ int pp_open_flags,
+ const OpenFileCallback& success_callback,
+ const StatusCallback& error_callback);
// This must be paired with OpenFile, and called after finished using the
// raw PlatformFile returned from OpenFile.
void NotifyCloseFile(int file_open_id);

Powered by Google App Engine
This is Rietveld 408576698