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

Unified Diff: Source/modules/credentialmanager/CredentialsContainer.cpp

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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: Source/modules/credentialmanager/CredentialsContainer.cpp
diff --git a/Source/modules/credentialmanager/CredentialsContainer.cpp b/Source/modules/credentialmanager/CredentialsContainer.cpp
index 3d9839acbf0bf58d5264dfec08e6598073557cc1..977f55dba68dc98301b22f6515aac35be2ed2b55 100644
--- a/Source/modules/credentialmanager/CredentialsContainer.cpp
+++ b/Source/modules/credentialmanager/CredentialsContainer.cpp
@@ -44,12 +44,12 @@ public:
explicit NotificationCallbacks(PassRefPtr<ScriptPromiseResolver> resolver) : m_resolver(resolver) { }
virtual ~NotificationCallbacks() { }
- virtual void onSuccess() OVERRIDE
+ virtual void onSuccess() override
{
m_resolver->resolve();
}
- virtual void onError(WebCredentialManagerError* reason) OVERRIDE
+ virtual void onError(WebCredentialManagerError* reason) override
{
rejectDueToCredentialManagerError(m_resolver, reason);
}
@@ -64,7 +64,7 @@ public:
explicit RequestCallbacks(PassRefPtr<ScriptPromiseResolver> resolver) : m_resolver(resolver) { }
virtual ~RequestCallbacks() { }
- virtual void onSuccess(WebCredential* credential) OVERRIDE
+ virtual void onSuccess(WebCredential* credential) override
{
if (!credential) {
m_resolver->resolve();
@@ -78,7 +78,7 @@ public:
m_resolver->resolve(FederatedCredential::create(static_cast<WebFederatedCredential*>(credential)));
}
- virtual void onError(WebCredentialManagerError* reason) OVERRIDE
+ virtual void onError(WebCredentialManagerError* reason) override
{
rejectDueToCredentialManagerError(m_resolver, reason);
}
« no previous file with comments | « Source/modules/credentialmanager/CredentialsContainer.h ('k') | Source/modules/credentialmanager/FederatedCredential.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698