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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp

Issue 630403002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules/serviceworkers (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/serviceworkers/ServiceWorkerContainerTest.cpp
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp b/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
index 2240712676a557758437f2f467c2ac7af7b87d2c..cb40ef5f112f6427af65772cf27f8cb80b9915a4 100644
--- a/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
+++ b/Source/modules/serviceworkers/ServiceWorkerContainerTest.cpp
@@ -67,7 +67,7 @@ private:
{
}
- virtual ScriptValue call(ScriptValue arg) OVERRIDE
+ virtual ScriptValue call(ScriptValue arg) override
{
m_owner.m_arg = arg;
m_owner.m_callCount++;
@@ -108,9 +108,9 @@ public:
{
}
- virtual ~ExpectDOMException() OVERRIDE { }
+ virtual ~ExpectDOMException() override { }
- virtual void operator()(ScriptValue value) const OVERRIDE
+ virtual void operator()(ScriptValue value) const override
{
DOMException* exception = V8DOMException::toImplWithTypeCheck(value.isolate(), value.v8Value());
EXPECT_TRUE(exception) << "the value should be a DOMException";
@@ -129,9 +129,9 @@ private:
class NotReachedWebServiceWorkerProvider : public WebServiceWorkerProvider {
public:
- virtual ~NotReachedWebServiceWorkerProvider() OVERRIDE { }
+ virtual ~NotReachedWebServiceWorkerProvider() override { }
- virtual void registerServiceWorker(const WebURL& pattern, const WebURL& scriptURL, WebServiceWorkerRegistrationCallbacks* callbacks) OVERRIDE
+ virtual void registerServiceWorker(const WebURL& pattern, const WebURL& scriptURL, WebServiceWorkerRegistrationCallbacks* callbacks) override
{
ADD_FAILURE() << "the provider should not be called to register a Service Worker";
delete callbacks;
@@ -275,9 +275,9 @@ private:
{
}
- virtual ~WebServiceWorkerProviderImpl() OVERRIDE { }
+ virtual ~WebServiceWorkerProviderImpl() override { }
- virtual void registerServiceWorker(const WebURL& pattern, const WebURL& scriptURL, WebServiceWorkerRegistrationCallbacks* callbacks) OVERRIDE
+ virtual void registerServiceWorker(const WebURL& pattern, const WebURL& scriptURL, WebServiceWorkerRegistrationCallbacks* callbacks) override
{
m_owner.m_registerCallCount++;
m_owner.m_registerScope = pattern;
@@ -285,7 +285,7 @@ private:
m_registrationCallbacksToDelete.append(adoptPtr(callbacks));
}
- virtual void getRegistration(const WebURL& documentURL, WebServiceWorkerGetRegistrationCallbacks* callbacks) OVERRIDE
+ virtual void getRegistration(const WebURL& documentURL, WebServiceWorkerGetRegistrationCallbacks* callbacks) override
{
m_owner.m_getRegistrationCallCount++;
m_owner.m_getRegistrationURL = documentURL;
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerContainerClient.h ('k') | Source/modules/serviceworkers/ServiceWorkerGlobalScope.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698