| Index: storage/browser/fileapi/copy_or_move_operation_delegate.cc
|
| diff --git a/storage/browser/fileapi/copy_or_move_operation_delegate.cc b/storage/browser/fileapi/copy_or_move_operation_delegate.cc
|
| index a1e212bec8502bfff62719d64a0ed76bc64c0997..5b1d7d2238597f81b7830647e6c8f8dc151e0790 100644
|
| --- a/storage/browser/fileapi/copy_or_move_operation_delegate.cc
|
| +++ b/storage/browser/fileapi/copy_or_move_operation_delegate.cc
|
| @@ -60,7 +60,7 @@ class CopyOrMoveOnSameFileSystemImpl
|
| file_progress_callback_(file_progress_callback) {
|
| }
|
|
|
| - virtual void Run(
|
| + void Run(
|
| const CopyOrMoveOperationDelegate::StatusCallback& callback) override {
|
| if (operation_type_ == CopyOrMoveOperationDelegate::OPERATION_MOVE) {
|
| operation_runner_->MoveFileLocal(src_url_, dest_url_, option_, callback);
|
| @@ -70,7 +70,7 @@ class CopyOrMoveOnSameFileSystemImpl
|
| }
|
| }
|
|
|
| - virtual void Cancel() override {
|
| + void Cancel() override {
|
| // We can do nothing for the copy/move operation on a local file system.
|
| // Assuming the operation is quickly done, it should be ok to just wait
|
| // for the completion.
|
| @@ -113,7 +113,7 @@ class SnapshotCopyOrMoveImpl
|
| weak_factory_(this) {
|
| }
|
|
|
| - virtual void Run(
|
| + void Run(
|
| const CopyOrMoveOperationDelegate::StatusCallback& callback) override {
|
| file_progress_callback_.Run(0);
|
| operation_runner_->CreateSnapshotFile(
|
| @@ -122,9 +122,7 @@ class SnapshotCopyOrMoveImpl
|
| weak_factory_.GetWeakPtr(), callback));
|
| }
|
|
|
| - virtual void Cancel() override {
|
| - cancel_requested_ = true;
|
| - }
|
| + void Cancel() override { cancel_requested_ = true; }
|
|
|
| private:
|
| void RunAfterCreateSnapshot(
|
| @@ -388,7 +386,7 @@ class StreamCopyOrMoveImpl
|
| cancel_requested_(false),
|
| weak_factory_(this) {}
|
|
|
| - virtual void Run(
|
| + void Run(
|
| const CopyOrMoveOperationDelegate::StatusCallback& callback) override {
|
| // Reader can be created even if the entry does not exist or the entry is
|
| // a directory. To check errors before destination file creation,
|
| @@ -399,7 +397,7 @@ class StreamCopyOrMoveImpl
|
| weak_factory_.GetWeakPtr(), callback));
|
| }
|
|
|
| - virtual void Cancel() override {
|
| + void Cancel() override {
|
| cancel_requested_ = true;
|
| if (copy_helper_)
|
| copy_helper_->Cancel();
|
|
|