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

Unified Diff: extensions/common/manifest_handlers/background_info.h

Issue 664933004: Standardize usage of virtual/override/final in extensions/ (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 | « extensions/common/manifest_handler_unittest.cc ('k') | extensions/common/manifest_handlers/csp_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/manifest_handlers/background_info.h
diff --git a/extensions/common/manifest_handlers/background_info.h b/extensions/common/manifest_handlers/background_info.h
index cc96a1adc7da5db1b83dfc012023789cecf1b12d..87c2f1218d5f7918a5fe5e179649e78c43448734 100644
--- a/extensions/common/manifest_handlers/background_info.h
+++ b/extensions/common/manifest_handlers/background_info.h
@@ -18,7 +18,7 @@ namespace extensions {
class BackgroundInfo : public Extension::ManifestData {
public:
BackgroundInfo();
- virtual ~BackgroundInfo();
+ ~BackgroundInfo() override;
static GURL GetBackgroundURL(const Extension* extension);
static const std::vector<std::string>& GetBackgroundScripts(
@@ -81,16 +81,16 @@ class BackgroundInfo : public Extension::ManifestData {
class BackgroundManifestHandler : public ManifestHandler {
public:
BackgroundManifestHandler();
- virtual ~BackgroundManifestHandler();
+ ~BackgroundManifestHandler() override;
- virtual bool Parse(Extension* extension, base::string16* error) override;
- virtual bool Validate(const Extension* extension,
- std::string* error,
- std::vector<InstallWarning>* warnings) const override;
- virtual bool AlwaysParseForType(Manifest::Type type) const override;
+ bool Parse(Extension* extension, base::string16* error) override;
+ bool Validate(const Extension* extension,
+ std::string* error,
+ std::vector<InstallWarning>* warnings) const override;
+ bool AlwaysParseForType(Manifest::Type type) const override;
private:
- virtual const std::vector<std::string> Keys() const override;
+ const std::vector<std::string> Keys() const override;
DISALLOW_COPY_AND_ASSIGN(BackgroundManifestHandler);
};
« no previous file with comments | « extensions/common/manifest_handler_unittest.cc ('k') | extensions/common/manifest_handlers/csp_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698