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

Unified Diff: content/public/test/test_file_error_injector.cc

Issue 671663002: Standardize usage of virtual/override/final in content/ (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
« no previous file with comments | « content/public/test/test_browser_thread.cc ('k') | content/public/test/test_file_system_backend.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_file_error_injector.cc
diff --git a/content/public/test/test_file_error_injector.cc b/content/public/test/test_file_error_injector.cc
index 069c6234454fd67fd74d1679a0a224401a73d08a..a52eea1e9c7a1e585415aa1e2697d296b2584e5f 100644
--- a/content/public/test/test_file_error_injector.cc
+++ b/content/public/test/test_file_error_injector.cc
@@ -40,19 +40,17 @@ class DownloadFileWithErrors: public DownloadFileImpl {
const ConstructionCallback& ctor_callback,
const DestructionCallback& dtor_callback);
- virtual ~DownloadFileWithErrors();
+ ~DownloadFileWithErrors() override;
- virtual void Initialize(const InitializeCallback& callback) override;
+ void Initialize(const InitializeCallback& callback) override;
// DownloadFile interface.
- virtual DownloadInterruptReason AppendDataToFile(
- const char* data, size_t data_len) override;
- virtual void RenameAndUniquify(
- const base::FilePath& full_path,
- const RenameCompletionCallback& callback) override;
- virtual void RenameAndAnnotate(
- const base::FilePath& full_path,
- const RenameCompletionCallback& callback) override;
+ DownloadInterruptReason AppendDataToFile(const char* data,
+ size_t data_len) override;
+ void RenameAndUniquify(const base::FilePath& full_path,
+ const RenameCompletionCallback& callback) override;
+ void RenameAndAnnotate(const base::FilePath& full_path,
+ const RenameCompletionCallback& callback) override;
private:
// Error generating helper.
@@ -254,10 +252,10 @@ class DownloadFileWithErrorsFactory : public DownloadFileFactory {
DownloadFileWithErrorsFactory(
const DownloadFileWithErrors::ConstructionCallback& ctor_callback,
const DownloadFileWithErrors::DestructionCallback& dtor_callback);
- virtual ~DownloadFileWithErrorsFactory();
+ ~DownloadFileWithErrorsFactory() override;
// DownloadFileFactory interface.
- virtual DownloadFile* CreateFile(
+ DownloadFile* CreateFile(
scoped_ptr<DownloadSaveInfo> save_info,
const base::FilePath& default_download_directory,
const GURL& url,
« no previous file with comments | « content/public/test/test_browser_thread.cc ('k') | content/public/test/test_file_system_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698