Chromium Code Reviews

Unified Diff: components/json_schema/json_schema_validator_unittest.cc

Issue 623133002: replace OVERRIDE and FINAL with override and 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.
Jump to:
View side-by-side diff with in-line comments
Index: components/json_schema/json_schema_validator_unittest.cc
diff --git a/components/json_schema/json_schema_validator_unittest.cc b/components/json_schema/json_schema_validator_unittest.cc
index aaa255568505073b90b5b1b2a08f29ff263c3c01..134e5fc40d3f9f611f4c2659239707a99007d5fb 100644
--- a/components/json_schema/json_schema_validator_unittest.cc
+++ b/components/json_schema/json_schema_validator_unittest.cc
@@ -15,7 +15,7 @@ class JSONSchemaValidatorCPPTest : public JSONSchemaValidatorTestBase {
virtual void ExpectValid(const std::string& test_source,
base::Value* instance,
base::DictionaryValue* schema,
- base::ListValue* types) OVERRIDE {
+ base::ListValue* types) override {
JSONSchemaValidator validator(schema, types);
if (validator.Validate(instance))
return;
@@ -32,7 +32,7 @@ class JSONSchemaValidatorCPPTest : public JSONSchemaValidatorTestBase {
base::Value* instance, base::DictionaryValue* schema,
base::ListValue* types,
const std::string& expected_error_path,
- const std::string& expected_error_message) OVERRIDE {
+ const std::string& expected_error_message) override {
JSONSchemaValidator validator(schema, types);
if (validator.Validate(instance)) {
ADD_FAILURE() << test_source;

Powered by Google App Engine