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

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

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/child/fileapi/file_system_dispatcher.cc
diff --git a/content/child/fileapi/file_system_dispatcher.cc b/content/child/fileapi/file_system_dispatcher.cc
index b7a13671cfeecb823528696e605368be8b352c83..cd64b05af115a083ffb12fb0762dafd23a6b4c07 100644
--- a/content/child/fileapi/file_system_dispatcher.cc
+++ b/content/child/fileapi/file_system_dispatcher.cc
@@ -307,16 +307,16 @@ void FileSystemDispatcher::TouchFile(
request_id, path, last_access_time, last_modified_time));
}
-void FileSystemDispatcher::OpenFile(
+void FileSystemDispatcher::OpenPepperFile(
const GURL& file_path,
- int file_flags,
+ int pp_open_flags,
const OpenFileCallback& success_callback,
const StatusCallback& error_callback) {
int request_id = dispatchers_.Add(
CallbackDispatcher::Create(success_callback, error_callback));
ChildThread::current()->Send(
- new FileSystemHostMsg_OpenFile(
- request_id, file_path, file_flags));
+ new FileSystemHostMsg_OpenPepperFile(
+ request_id, file_path, pp_open_flags));
}
void FileSystemDispatcher::NotifyCloseFile(int file_open_id) {

Powered by Google App Engine
This is Rietveld 408576698