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

Unified Diff: chrome/common/extensions/api/i18n/default_locale_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/api/i18n/default_locale_handler.h
diff --git a/chrome/common/extensions/api/i18n/default_locale_handler.h b/chrome/common/extensions/api/i18n/default_locale_handler.h
index f34f611b16c48503166289d9e1269920c761513d..d0f795ea6e3590be14fa898cdc84d720175aa924 100644
--- a/chrome/common/extensions/api/i18n/default_locale_handler.h
+++ b/chrome/common/extensions/api/i18n/default_locale_handler.h
@@ -24,19 +24,19 @@ struct LocaleInfo : public Extension::ManifestData {
class DefaultLocaleHandler : public ManifestHandler {
public:
DefaultLocaleHandler();
- virtual ~DefaultLocaleHandler();
+ ~DefaultLocaleHandler() override;
- virtual bool Parse(Extension* extension, base::string16* error) override;
+ bool Parse(Extension* extension, base::string16* error) override;
// Validates locale info. Doesn't check if messages.json files are valid.
- virtual bool Validate(const Extension* extension,
- std::string* error,
- std::vector<InstallWarning>* warnings) const override;
+ bool Validate(const Extension* extension,
+ std::string* error,
+ std::vector<InstallWarning>* warnings) const override;
- virtual bool AlwaysValidateForType(Manifest::Type type) const override;
+ bool AlwaysValidateForType(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(DefaultLocaleHandler);
};

Powered by Google App Engine
This is Rietveld 408576698