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

Unified Diff: storage/browser/fileapi/copy_or_move_operation_delegate.h

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: storage/browser/fileapi/copy_or_move_operation_delegate.h
diff --git a/storage/browser/fileapi/copy_or_move_operation_delegate.h b/storage/browser/fileapi/copy_or_move_operation_delegate.h
index e6785e91bcccc156a6902fd6d2d7015d221ba2db..e86c0ab9c0abcb9aba844be62cb5a468cf914dc2 100644
--- a/storage/browser/fileapi/copy_or_move_operation_delegate.h
+++ b/storage/browser/fileapi/copy_or_move_operation_delegate.h
@@ -36,6 +36,7 @@ class CopyOrMoveOperationDelegate
class CopyOrMoveImpl;
typedef FileSystemOperation::CopyProgressCallback CopyProgressCallback;
typedef FileSystemOperation::CopyOrMoveOption CopyOrMoveOption;
+ typedef FileSystemOperation::ErrorBehavior ErrorBehavior;
enum OperationType {
OPERATION_COPY,
@@ -91,14 +92,14 @@ class CopyOrMoveOperationDelegate
DISALLOW_COPY_AND_ASSIGN(StreamCopyHelper);
};
- CopyOrMoveOperationDelegate(
- FileSystemContext* file_system_context,
- const FileSystemURL& src_root,
- const FileSystemURL& dest_root,
- OperationType operation_type,
- CopyOrMoveOption option,
- const CopyProgressCallback& progress_callback,
- const StatusCallback& callback);
+ CopyOrMoveOperationDelegate(FileSystemContext* file_system_context,
+ const FileSystemURL& src_root,
+ const FileSystemURL& dest_root,
+ OperationType operation_type,
+ CopyOrMoveOption option,
+ ErrorBehavior error_behavior,
+ const CopyProgressCallback& progress_callback,
+ const StatusCallback& callback);
~CopyOrMoveOperationDelegate() override;
// RecursiveOperationDelegate overrides:
@@ -148,6 +149,7 @@ class CopyOrMoveOperationDelegate
bool same_file_system_;
OperationType operation_type_;
CopyOrMoveOption option_;
+ ErrorBehavior error_behavior_;
CopyProgressCallback progress_callback_;
StatusCallback callback_;
« no previous file with comments | « content/public/test/async_file_test_helper.cc ('k') | storage/browser/fileapi/copy_or_move_operation_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698