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

Unified Diff: extensions/common/manifest_handler_unittest.cc

Issue 622343002: replace OVERRIDE and FINAL with override and 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/features/simple_feature.h ('k') | extensions/common/manifest_handlers/background_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/manifest_handler_unittest.cc
diff --git a/extensions/common/manifest_handler_unittest.cc b/extensions/common/manifest_handler_unittest.cc
index 4709537d5b560f35061c5a3e52318ba82b8e8ee7..3148438c34148afe2731be6c793129260b3a42f2 100644
--- a/extensions/common/manifest_handler_unittest.cc
+++ b/extensions/common/manifest_handler_unittest.cc
@@ -83,12 +83,12 @@ class ManifestHandlerTest : public testing::Test {
: name_(name), keys_(keys), prereqs_(prereqs), watcher_(watcher) {
}
- virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE {
+ virtual bool Parse(Extension* extension, base::string16* error) override {
watcher_->Record(name_);
return true;
}
- virtual const std::vector<std::string> PrerequisiteKeys() const OVERRIDE {
+ virtual const std::vector<std::string> PrerequisiteKeys() const override {
return prereqs_;
}
@@ -98,7 +98,7 @@ class ManifestHandlerTest : public testing::Test {
std::vector<std::string> prereqs_;
ParsingWatcher* watcher_;
- virtual const std::vector<std::string> Keys() const OVERRIDE {
+ virtual const std::vector<std::string> Keys() const override {
return keys_;
}
};
@@ -111,7 +111,7 @@ class ManifestHandlerTest : public testing::Test {
ParsingWatcher* watcher)
: TestManifestHandler(name, keys, prereqs, watcher) {
}
- virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE {
+ virtual bool Parse(Extension* extension, base::string16* error) override {
*error = base::ASCIIToUTF16(name_);
return false;
}
@@ -126,7 +126,7 @@ class ManifestHandlerTest : public testing::Test {
: TestManifestHandler(name, keys, prereqs, watcher) {
}
- virtual bool AlwaysParseForType(Manifest::Type type) const OVERRIDE {
+ virtual bool AlwaysParseForType(Manifest::Type type) const override {
return true;
}
};
@@ -141,23 +141,23 @@ class ManifestHandlerTest : public testing::Test {
keys_(keys) {
}
- virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE {
+ virtual bool Parse(Extension* extension, base::string16* error) override {
return true;
}
virtual bool Validate(
const Extension* extension,
std::string* error,
- std::vector<InstallWarning>* warnings) const OVERRIDE {
+ std::vector<InstallWarning>* warnings) const override {
return return_value_;
}
- virtual bool AlwaysValidateForType(Manifest::Type type) const OVERRIDE {
+ virtual bool AlwaysValidateForType(Manifest::Type type) const override {
return always_validate_;
}
private:
- virtual const std::vector<std::string> Keys() const OVERRIDE {
+ virtual const std::vector<std::string> Keys() const override {
return keys_;
}
« no previous file with comments | « extensions/common/features/simple_feature.h ('k') | extensions/common/manifest_handlers/background_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698