Index: chrome/browser/sync_file_system/local/syncable_file_system_operation.cc |
diff --git a/chrome/browser/sync_file_system/local/syncable_file_system_operation.cc b/chrome/browser/sync_file_system/local/syncable_file_system_operation.cc |
index 72d63d261da612c0ac1165afc9d50eb3ead2f83b..a44699d18937f53e720f64ddc86977a65ca08365 100644 |
--- a/chrome/browser/sync_file_system/local/syncable_file_system_operation.cc |
+++ b/chrome/browser/sync_file_system/local/syncable_file_system_operation.cc |
@@ -123,6 +123,7 @@ void SyncableFileSystemOperation::CreateDirectory( |
void SyncableFileSystemOperation::Copy( |
const FileSystemURL& src_url, |
const FileSystemURL& dest_url, |
+ const CopyProgressCallback& progress_callback, |
const StatusCallback& callback) { |
DCHECK(CalledOnValidThread()); |
if (!operation_runner_.get()) { |
@@ -136,7 +137,7 @@ void SyncableFileSystemOperation::Copy( |
weak_factory_.GetWeakPtr(), |
base::Bind(&FileSystemOperation::Copy, |
base::Unretained(impl_.get()), |
- src_url, dest_url, |
+ src_url, dest_url, progress_callback, |
base::Bind(&self::DidFinish, weak_factory_.GetWeakPtr())))); |
operation_runner_->PostOperationTask(task.Pass()); |
} |
@@ -327,9 +328,10 @@ void SyncableFileSystemOperation::RemoveDirectory( |
void SyncableFileSystemOperation::CopyFileLocal( |
const FileSystemURL& src_url, |
const FileSystemURL& dest_url, |
+ const CopyFileProgressCallback& progress_callback, |
const StatusCallback& callback) { |
DCHECK(CalledOnValidThread()); |
- impl_->CopyFileLocal(src_url, dest_url, callback); |
+ impl_->CopyFileLocal(src_url, dest_url, progress_callback, callback); |
} |
void SyncableFileSystemOperation::MoveFileLocal( |