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

Unified Diff: content/browser/fileapi/recursive_operation_delegate_unittest.cc

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: content/browser/fileapi/recursive_operation_delegate_unittest.cc
diff --git a/content/browser/fileapi/recursive_operation_delegate_unittest.cc b/content/browser/fileapi/recursive_operation_delegate_unittest.cc
index 58e935ebf1ac56268e146758e54e525d643adcb8..f57722f3374ff3ab2af7b42e4a6205a3c4ecc38f 100644
--- a/content/browser/fileapi/recursive_operation_delegate_unittest.cc
+++ b/content/browser/fileapi/recursive_operation_delegate_unittest.cc
@@ -45,21 +45,17 @@ class LoggingRecursiveOperation : public storage::RecursiveOperationDelegate {
root_(root),
callback_(callback),
weak_factory_(this) {}
- virtual ~LoggingRecursiveOperation() {}
+ ~LoggingRecursiveOperation() override {}
const std::vector<LogEntry>& log_entries() const { return log_entries_; }
// RecursiveOperationDelegate overrides.
- virtual void Run() override {
- NOTREACHED();
- }
+ void Run() override { NOTREACHED(); }
- virtual void RunRecursively() override {
- StartRecursiveOperation(root_, callback_);
- }
+ void RunRecursively() override { StartRecursiveOperation(root_, callback_); }
- virtual void ProcessFile(const FileSystemURL& url,
- const StatusCallback& callback) override {
+ void ProcessFile(const FileSystemURL& url,
+ const StatusCallback& callback) override {
RecordLogEntry(LogEntry::PROCESS_FILE, url);
operation_runner()->GetMetadata(
url,
@@ -67,14 +63,14 @@ class LoggingRecursiveOperation : public storage::RecursiveOperationDelegate {
weak_factory_.GetWeakPtr(), callback));
}
- virtual void ProcessDirectory(const FileSystemURL& url,
- const StatusCallback& callback) override {
+ void ProcessDirectory(const FileSystemURL& url,
+ const StatusCallback& callback) override {
RecordLogEntry(LogEntry::PROCESS_DIRECTORY, url);
callback.Run(base::File::FILE_OK);
}
- virtual void PostProcessDirectory(const FileSystemURL& url,
- const StatusCallback& callback) override {
+ void PostProcessDirectory(const FileSystemURL& url,
+ const StatusCallback& callback) override {
RecordLogEntry(LogEntry::POST_PROCESS_DIRECTORY, url);
callback.Run(base::File::FILE_OK);
}
« no previous file with comments | « content/browser/fileapi/mock_url_request_delegate.h ('k') | content/browser/fileapi/upload_file_system_file_element_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698