Chromium Code Reviews| 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..2c25b6479a47cb233b85b4c37794f7c52594a389 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, |
| + const ErrorBehavior error_behavior, |
|
tzik
2015/06/24 05:01:24
nit: we usually pass enums by value without const.
yawano
2015/06/24 06:02:22
Done.
|
| + 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_; |
| + const ErrorBehavior error_behavior_; |
| CopyProgressCallback progress_callback_; |
| StatusCallback callback_; |