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 3553595d82da8f7351aeb06b4e59f6cb432215bf..072b507eed46e5f9b73199e329bb3a8f771030c8 100644 |
--- a/webkit/browser/fileapi/file_system_operation_runner.cc |
+++ b/webkit/browser/fileapi/file_system_operation_runner.cc |
@@ -85,6 +85,7 @@ OperationID FileSystemOperationRunner::CreateDirectory( |
OperationID FileSystemOperationRunner::Copy( |
const FileSystemURL& src_url, |
const FileSystemURL& dest_url, |
+ const CopyProgressCallback& progress_callback, |
const StatusCallback& callback) { |
base::PlatformFileError error = base::PLATFORM_FILE_OK; |
FileSystemOperation* operation = |
@@ -98,7 +99,7 @@ OperationID FileSystemOperationRunner::Copy( |
PrepareForWrite(handle.id, dest_url); |
PrepareForRead(handle.id, src_url); |
operation->Copy( |
- src_url, dest_url, |
+ src_url, dest_url, progress_callback, |
base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), |
handle, callback)); |
return handle.id; |
@@ -435,6 +436,7 @@ OperationID FileSystemOperationRunner::RemoveDirectory( |
OperationID FileSystemOperationRunner::CopyFileLocal( |
const FileSystemURL& src_url, |
const FileSystemURL& dest_url, |
+ const CopyFileProgressCallback& progress_callback, |
const StatusCallback& callback) { |
base::PlatformFileError error = base::PLATFORM_FILE_OK; |
FileSystemOperation* operation = |
@@ -446,7 +448,7 @@ OperationID FileSystemOperationRunner::CopyFileLocal( |
return handle.id; |
} |
operation->CopyFileLocal( |
- src_url, dest_url, |
+ src_url, dest_url, progress_callback, |
base::Bind(&FileSystemOperationRunner::DidFinish, AsWeakPtr(), |
handle, callback)); |
return handle.id; |