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

Unified Diff: chrome/browser/media_galleries/media_file_system_registry_unittest.cc

Issue 660343006: Standardize usage of virtual/override/final in chrome/browser/media_galleries (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: chrome/browser/media_galleries/media_file_system_registry_unittest.cc
diff --git a/chrome/browser/media_galleries/media_file_system_registry_unittest.cc b/chrome/browser/media_galleries/media_file_system_registry_unittest.cc
index e63ce003b5bf031efada87a4d4b762f28eafb2c8..e7eb9511b4b2f0ebc2989ced651fe59a5e3ab6ab 100644
--- a/chrome/browser/media_galleries/media_file_system_registry_unittest.cc
+++ b/chrome/browser/media_galleries/media_file_system_registry_unittest.cc
@@ -75,17 +75,16 @@ class TestMediaFileSystemContext : public MediaFileSystemContext {
};
explicit TestMediaFileSystemContext(MediaFileSystemRegistry* registry);
- virtual ~TestMediaFileSystemContext() {}
+ ~TestMediaFileSystemContext() override {}
// MediaFileSystemContext implementation.
- virtual bool RegisterFileSystem(const std::string& device_id,
- const std::string& fs_name,
- const base::FilePath& path) override;
+ bool RegisterFileSystem(const std::string& device_id,
+ const std::string& fs_name,
+ const base::FilePath& path) override;
- virtual void RevokeFileSystem(const std::string& fs_name) override;
+ void RevokeFileSystem(const std::string& fs_name) override;
- virtual base::FilePath GetRegisteredPath(
- const std::string& fs_name) const override;
+ base::FilePath GetRegisteredPath(const std::string& fs_name) const override;
MediaFileSystemRegistry* registry() { return registry_; }
@@ -192,14 +191,14 @@ class MockProfileSharedRenderProcessHostFactory
: public content::RenderProcessHostFactory {
public:
MockProfileSharedRenderProcessHostFactory() {}
- virtual ~MockProfileSharedRenderProcessHostFactory();
+ ~MockProfileSharedRenderProcessHostFactory() override;
// RPH created with this factory are owned by it. If the RPH is destroyed
// for testing purposes, it must be removed from the factory first.
content::MockRenderProcessHost* ReleaseRPH(
content::BrowserContext* browser_context);
- virtual content::RenderProcessHost* CreateRenderProcessHost(
+ content::RenderProcessHost* CreateRenderProcessHost(
content::BrowserContext* browser_context,
content::SiteInstance* site_instance) const override;

Powered by Google App Engine
This is Rietveld 408576698