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

Unified Diff: chrome/browser/sync_file_system/local/canned_syncable_file_system.cc

Issue 24030002: Adds callbacks to notify progress into Copy's API. (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: chrome/browser/sync_file_system/local/canned_syncable_file_system.cc
diff --git a/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc b/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc
index 20bf12ccbefc6499dece43c582f78400fbe39f6c..d1d4e6a9f4f40aa6b9da7a71ad882d54f38cb1ea 100644
--- a/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc
+++ b/chrome/browser/sync_file_system/local/canned_syncable_file_system.cc
@@ -554,7 +554,9 @@ void CannedSyncableFileSystem::DoCopy(
const FileSystemURL& dest_url,
const StatusCallback& callback) {
EXPECT_TRUE(is_filesystem_opened_);
- operation_runner()->Copy(src_url, dest_url, callback);
+ operation_runner()->Copy(
+ src_url, dest_url,
+ fileapi::FileSystemOperationRunner::CopyProgressCallback(), callback);
}
void CannedSyncableFileSystem::DoMove(

Powered by Google App Engine
This is Rietveld 408576698