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

Unified Diff: content/browser/fileapi/fileapi_message_filter.cc

Issue 1194783002: Add fileManagerPrivate.onCopyError event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix broken test cases. 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: content/browser/fileapi/fileapi_message_filter.cc
diff --git a/content/browser/fileapi/fileapi_message_filter.cc b/content/browser/fileapi/fileapi_message_filter.cc
index bcd2ce623b2ab859490c4c8dc16778b46932b131..6d09f4356ada884bb373561109005171e7575c59 100644
--- a/content/browser/fileapi/fileapi_message_filter.cc
+++ b/content/browser/fileapi/fileapi_message_filter.cc
@@ -280,9 +280,8 @@ void FileAPIMessageFilter::OnCopy(
}
operations_[request_id] = operation_runner()->Copy(
- src_url,
- dest_url,
- storage::FileSystemOperation::OPTION_NONE,
+ src_url, dest_url, storage::FileSystemOperation::OPTION_NONE,
+ FileSystemOperation::ERROR_BEHAVIOR_TERMINATE,
storage::FileSystemOperationRunner::CopyProgressCallback(),
base::Bind(&FileAPIMessageFilter::DidFinish, this, request_id));
}

Powered by Google App Engine
This is Rietveld 408576698