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

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

Issue 624063003: Replacing the OVERRIDE with override and FINAL with final in storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the error Created 6 years, 2 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.cc
diff --git a/storage/browser/fileapi/copy_or_move_operation_delegate.cc b/storage/browser/fileapi/copy_or_move_operation_delegate.cc
index aa6b059387a27a7b5030b9c806ddeb19473e670d..a1e212bec8502bfff62719d64a0ed76bc64c0997 100644
--- a/storage/browser/fileapi/copy_or_move_operation_delegate.cc
+++ b/storage/browser/fileapi/copy_or_move_operation_delegate.cc
@@ -61,7 +61,7 @@ class CopyOrMoveOnSameFileSystemImpl
}
virtual void Run(
- const CopyOrMoveOperationDelegate::StatusCallback& callback) OVERRIDE {
+ const CopyOrMoveOperationDelegate::StatusCallback& callback) override {
if (operation_type_ == CopyOrMoveOperationDelegate::OPERATION_MOVE) {
operation_runner_->MoveFileLocal(src_url_, dest_url_, option_, callback);
} else {
@@ -70,7 +70,7 @@ class CopyOrMoveOnSameFileSystemImpl
}
}
- virtual void Cancel() OVERRIDE {
+ virtual 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.
@@ -114,7 +114,7 @@ class SnapshotCopyOrMoveImpl
}
virtual void Run(
- const CopyOrMoveOperationDelegate::StatusCallback& callback) OVERRIDE {
+ const CopyOrMoveOperationDelegate::StatusCallback& callback) override {
file_progress_callback_.Run(0);
operation_runner_->CreateSnapshotFile(
src_url_,
@@ -122,7 +122,7 @@ class SnapshotCopyOrMoveImpl
weak_factory_.GetWeakPtr(), callback));
}
- virtual void Cancel() OVERRIDE {
+ virtual void Cancel() override {
cancel_requested_ = true;
}
@@ -389,7 +389,7 @@ class StreamCopyOrMoveImpl
weak_factory_(this) {}
virtual void Run(
- const CopyOrMoveOperationDelegate::StatusCallback& callback) OVERRIDE {
+ 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,
// check metadata first.
@@ -399,7 +399,7 @@ class StreamCopyOrMoveImpl
weak_factory_.GetWeakPtr(), callback));
}
- virtual void Cancel() OVERRIDE {
+ virtual void Cancel() override {
cancel_requested_ = true;
if (copy_helper_)
copy_helper_->Cancel();
« no previous file with comments | « storage/browser/fileapi/copy_or_move_operation_delegate.h ('k') | storage/browser/fileapi/dragged_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698