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

Unified Diff: components/component_updater/test/test_installer.h

Issue 666133002: Standardize usage of virtual/override/final in components/ (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: components/component_updater/test/test_installer.h
diff --git a/components/component_updater/test/test_installer.h b/components/component_updater/test/test_installer.h
index 914b52ee6ef02d96335956a5ac1bd44b7c5f051f..e44c48dc8361a3f24330564941c2c74314ad6d7c 100644
--- a/components/component_updater/test/test_installer.h
+++ b/components/component_updater/test/test_installer.h
@@ -23,13 +23,13 @@ class TestInstaller : public ComponentInstaller {
public:
TestInstaller();
- virtual void OnUpdateError(int error) override;
+ void OnUpdateError(int error) override;
- virtual bool Install(const base::DictionaryValue& manifest,
- const base::FilePath& unpack_path) override;
+ bool Install(const base::DictionaryValue& manifest,
+ const base::FilePath& unpack_path) override;
- virtual bool GetInstalledFile(const std::string& file,
- base::FilePath* installed_file) override;
+ bool GetInstalledFile(const std::string& file,
+ base::FilePath* installed_file) override;
int error() const;
@@ -46,10 +46,10 @@ class ReadOnlyTestInstaller : public TestInstaller {
public:
explicit ReadOnlyTestInstaller(const base::FilePath& installed_path);
- virtual ~ReadOnlyTestInstaller();
+ ~ReadOnlyTestInstaller() override;
- virtual bool GetInstalledFile(const std::string& file,
- base::FilePath* installed_file) override;
+ bool GetInstalledFile(const std::string& file,
+ base::FilePath* installed_file) override;
private:
base::FilePath install_directory_;
@@ -61,13 +61,13 @@ class VersionedTestInstaller : public TestInstaller {
public:
VersionedTestInstaller();
- virtual ~VersionedTestInstaller();
+ ~VersionedTestInstaller() override;
- virtual bool Install(const base::DictionaryValue& manifest,
- const base::FilePath& unpack_path) override;
+ bool Install(const base::DictionaryValue& manifest,
+ const base::FilePath& unpack_path) override;
- virtual bool GetInstalledFile(const std::string& file,
- base::FilePath* installed_file) override;
+ bool GetInstalledFile(const std::string& file,
+ base::FilePath* installed_file) override;
private:
base::FilePath install_directory_;

Powered by Google App Engine
This is Rietveld 408576698