diff options
author | hidehiko@chromium.org <hidehiko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-25 13:00:30 +0000 |
---|---|---|
committer | hidehiko@chromium.org <hidehiko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-25 13:00:30 +0000 |
commit | 824d389d6bd478947f86213604375b257f4b6bab (patch) | |
tree | 406764b1f66794566b05e908233956afdd524dd9 /webkit/browser/fileapi/copy_or_move_operation_delegate.h | |
parent | 3ea5bd5ee58ac65fad325bde1a27b82a2522b4c7 (diff) | |
download | chromium_src-824d389d6bd478947f86213604375b257f4b6bab.zip chromium_src-824d389d6bd478947f86213604375b257f4b6bab.tar.gz chromium_src-824d389d6bd478947f86213604375b257f4b6bab.tar.bz2 |
Introduce CopyOrMoveOption.
This CL adds CopyOrMoveOption to Copy() and Move() methods of
FileSystemOperation. This CL doesn't change the user visible behavior.
This is preparation to implement "preserve last modified time" on copy (i.e.
cp "-p" option on linux). The actual implementation will be done in following
CLs.
BUG=282107
TEST=Ran unit_tests and content_unittests
R=kinaba@chromium.org, kinuko@chromium.org, raymes@chromium.org, vandebo@chromium.org
Review URL: https://codereview.chromium.org/24262007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225178 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/browser/fileapi/copy_or_move_operation_delegate.h')
-rw-r--r-- | webkit/browser/fileapi/copy_or_move_operation_delegate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/browser/fileapi/copy_or_move_operation_delegate.h b/webkit/browser/fileapi/copy_or_move_operation_delegate.h index 77d1a76..1f82a34a 100644 --- a/webkit/browser/fileapi/copy_or_move_operation_delegate.h +++ b/webkit/browser/fileapi/copy_or_move_operation_delegate.h @@ -25,6 +25,7 @@ class CopyOrMoveOperationDelegate public: class CopyOrMoveImpl; typedef FileSystemOperation::CopyProgressCallback CopyProgressCallback; + typedef FileSystemOperation::CopyOrMoveOption CopyOrMoveOption; enum OperationType { OPERATION_COPY, @@ -36,6 +37,7 @@ class CopyOrMoveOperationDelegate const FileSystemURL& src_root, const FileSystemURL& dest_root, OperationType operation_type, + CopyOrMoveOption option, const CopyProgressCallback& progress_callback, const StatusCallback& callback); virtual ~CopyOrMoveOperationDelegate(); @@ -75,6 +77,7 @@ class CopyOrMoveOperationDelegate FileSystemURL dest_root_; bool same_file_system_; OperationType operation_type_; + CopyOrMoveOption option_; CopyProgressCallback progress_callback_; StatusCallback callback_; |