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

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

Issue 1194783002: Add fileManagerPrivate.onCopyError event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove const and rename enum. Created 5 years, 6 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 039f9daa5dc981f56fac8f5c27aff88937cc934f..9eb24c74e0444e09d76c406ba146497c6fdd75b6 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
@@ -594,11 +594,9 @@ void CannedSyncableFileSystem::DoCopy(
EXPECT_TRUE(io_task_runner_->RunsTasksOnCurrentThread());
EXPECT_TRUE(is_filesystem_opened_);
operation_runner()->Copy(
- src_url,
- dest_url,
- storage::FileSystemOperation::OPTION_NONE,
- storage::FileSystemOperationRunner::CopyProgressCallback(),
- callback);
+ src_url, dest_url, storage::FileSystemOperation::OPTION_NONE,
+ storage::FileSystemOperation::ERROR_BEHAVIOR_ABORT,
+ storage::FileSystemOperationRunner::CopyProgressCallback(), callback);
}
void CannedSyncableFileSystem::DoMove(

Powered by Google App Engine
This is Rietveld 408576698