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

Unified Diff: components/policy/core/browser/policy_error_map.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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/policy/core/browser/policy_error_map.cc
diff --git a/components/policy/core/browser/policy_error_map.cc b/components/policy/core/browser/policy_error_map.cc
index f132f65c67af58c723323de9b840122f5db27ceb..4d9c59d424f46cfc1fd1a877be9e8cda2ad4623b 100644
--- a/components/policy/core/browser/policy_error_map.cc
+++ b/components/policy/core/browser/policy_error_map.cc
@@ -43,7 +43,7 @@ class SimplePendingError : public PolicyErrorMap::PendingError {
replacement_(replacement) {}
virtual ~SimplePendingError() {}
- virtual base::string16 GetMessage() const OVERRIDE {
+ virtual base::string16 GetMessage() const override {
if (message_id_ >= 0) {
if (replacement_.empty())
return l10n_util::GetStringUTF16(message_id_);
@@ -70,7 +70,7 @@ class DictSubkeyPendingError : public SimplePendingError {
subkey_(subkey) {}
virtual ~DictSubkeyPendingError() {}
- virtual base::string16 GetMessage() const OVERRIDE {
+ virtual base::string16 GetMessage() const override {
return l10n_util::GetStringFUTF16(IDS_POLICY_SUBKEY_ERROR,
base::ASCIIToUTF16(subkey_),
SimplePendingError::GetMessage());
@@ -92,7 +92,7 @@ class ListItemPendingError : public SimplePendingError {
index_(index) {}
virtual ~ListItemPendingError() {}
- virtual base::string16 GetMessage() const OVERRIDE {
+ virtual base::string16 GetMessage() const override {
return l10n_util::GetStringFUTF16(IDS_POLICY_LIST_ENTRY_ERROR,
base::IntToString16(index_),
SimplePendingError::GetMessage());
@@ -113,7 +113,7 @@ class SchemaValidatingPendingError : public SimplePendingError {
error_path_(error_path) {};
virtual ~SchemaValidatingPendingError() {}
- virtual base::string16 GetMessage() const OVERRIDE {
+ virtual base::string16 GetMessage() const override {
return l10n_util::GetStringFUTF16(IDS_POLICY_SCHEMA_VALIDATION_ERROR,
base::ASCIIToUTF16(error_path_),
SimplePendingError::GetMessage());

Powered by Google App Engine
This is Rietveld 408576698