summaryrefslogtreecommitdiffstats
path: root/content/browser/fileapi/recursive_operation_delegate_unittest.cc
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-10-21 05:07:58 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-21 12:08:25 +0000
commitc2282aa89148883769f87c74cc3c4608c0933489 (patch)
treeffa48a41ac574fc701cac64f5457dfc08d2c0c27 /content/browser/fileapi/recursive_operation_delegate_unittest.cc
parentc793742b02142aed967568c48def709d6d16bd38 (diff)
downloadchromium_src-c2282aa89148883769f87c74cc3c4608c0933489.zip
chromium_src-c2282aa89148883769f87c74cc3c4608c0933489.tar.gz
chromium_src-c2282aa89148883769f87c74cc3c4608c0933489.tar.bz2
Standardize usage of virtual/override/final in content/browser/
This patch was automatically generated by applying clang fixit hints generated by the plugin to the source tree. BUG=417463 TBR=sky@chromium.org Review URL: https://codereview.chromium.org/667943003 Cr-Commit-Position: refs/heads/master@{#300469}
Diffstat (limited to 'content/browser/fileapi/recursive_operation_delegate_unittest.cc')
-rw-r--r--content/browser/fileapi/recursive_operation_delegate_unittest.cc22
1 files changed, 9 insertions, 13 deletions
diff --git a/content/browser/fileapi/recursive_operation_delegate_unittest.cc b/content/browser/fileapi/recursive_operation_delegate_unittest.cc
index 58e935e..f57722f 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);
}