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

Unified Diff: chrome/common/extensions/manifest_handlers/content_scripts_handler.h

Issue 653773004: Standardize usage of virtual/override/final in chrome/ (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/common/extensions/manifest_handlers/content_scripts_handler.h
diff --git a/chrome/common/extensions/manifest_handlers/content_scripts_handler.h b/chrome/common/extensions/manifest_handlers/content_scripts_handler.h
index dd6e90c73d2b552c3c0fe34d391b52480ce40639..295a59b15c0d7cbc614d233b6c09adc86b3e5a24 100644
--- a/chrome/common/extensions/manifest_handlers/content_scripts_handler.h
+++ b/chrome/common/extensions/manifest_handlers/content_scripts_handler.h
@@ -17,7 +17,7 @@ class URLPatternSet;
struct ContentScriptsInfo : public Extension::ManifestData {
ContentScriptsInfo();
- virtual ~ContentScriptsInfo();
+ ~ContentScriptsInfo() override;
// Paths to the content scripts the extension contains (possibly empty).
UserScriptList content_scripts;
@@ -38,15 +38,15 @@ struct ContentScriptsInfo : public Extension::ManifestData {
class ContentScriptsHandler : public ManifestHandler {
public:
ContentScriptsHandler();
- virtual ~ContentScriptsHandler();
+ ~ContentScriptsHandler() 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;
+ bool Parse(Extension* extension, base::string16* error) override;
+ bool Validate(const Extension* extension,
+ std::string* error,
+ std::vector<InstallWarning>* warnings) const override;
private:
- virtual const std::vector<std::string> Keys() const override;
+ const std::vector<std::string> Keys() const override;
DISALLOW_COPY_AND_ASSIGN(ContentScriptsHandler);
};

Powered by Google App Engine
This is Rietveld 408576698