Index: webkit/browser/fileapi/file_system_operation_runner.cc |
diff --git a/webkit/browser/fileapi/file_system_operation_runner.cc b/webkit/browser/fileapi/file_system_operation_runner.cc |
index 8903187d0b3445e504bc6fa6c3c12f85c077c495..d552a78319342df4560ac2bd517e8c7a63081c09 100644 |
--- a/webkit/browser/fileapi/file_system_operation_runner.cc |
+++ b/webkit/browser/fileapi/file_system_operation_runner.cc |
@@ -339,7 +339,6 @@ OperationID FileSystemOperationRunner::TouchFile( |
OperationID FileSystemOperationRunner::OpenFile( |
const FileSystemURL& url, |
int file_flags, |
- base::ProcessHandle peer_handle, |
const OpenFileCallback& callback) { |
base::PlatformFileError error = base::PLATFORM_FILE_OK; |
FileSystemOperation* operation = |
@@ -348,7 +347,7 @@ OperationID FileSystemOperationRunner::OpenFile( |
OperationHandle handle = BeginOperation(operation, scope.AsWeakPtr()); |
if (!operation) { |
DidOpenFile(handle, callback, error, base::kInvalidPlatformFileValue, |
- base::Closure(), base::ProcessHandle()); |
+ base::Closure()); |
return handle.id; |
} |
if (file_flags & |
@@ -362,7 +361,7 @@ OperationID FileSystemOperationRunner::OpenFile( |
PrepareForRead(handle.id, url); |
} |
operation->OpenFile( |
- url, file_flags, peer_handle, |
+ url, file_flags, |
base::Bind(&FileSystemOperationRunner::DidOpenFile, AsWeakPtr(), |
handle, callback)); |
return handle.id; |
@@ -578,17 +577,16 @@ void FileSystemOperationRunner::DidOpenFile( |
const OpenFileCallback& callback, |
base::PlatformFileError rv, |
base::PlatformFile file, |
- const base::Closure& on_close_callback, |
- base::ProcessHandle peer_handle) { |
+ const base::Closure& on_close_callback) { |
if (handle.scope) { |
finished_operations_.insert(handle.id); |
base::MessageLoopProxy::current()->PostTask( |
FROM_HERE, base::Bind(&FileSystemOperationRunner::DidOpenFile, |
AsWeakPtr(), handle, callback, rv, file, |
- on_close_callback, peer_handle)); |
+ on_close_callback)); |
return; |
} |
- callback.Run(rv, file, on_close_callback, peer_handle); |
+ callback.Run(rv, file, on_close_callback); |
FinishOperation(handle.id); |
} |