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

Unified Diff: Source/modules/serviceworkers/ServiceWorker.h

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
« no previous file with comments | « Source/modules/serviceworkers/Response.h ('k') | Source/modules/serviceworkers/ServiceWorker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ServiceWorker.h
diff --git a/Source/modules/serviceworkers/ServiceWorker.h b/Source/modules/serviceworkers/ServiceWorker.h
index 732e67a15cf63f99d37469a937d938b37bf4ba9b..bbd43a023c834875738d612a08ac80f6133e9986 100644
--- a/Source/modules/serviceworkers/ServiceWorker.h
+++ b/Source/modules/serviceworkers/ServiceWorker.h
@@ -46,7 +46,7 @@ namespace blink {
class ScriptState;
class ScriptPromiseResolver;
-class ServiceWorker FINAL : public AbstractWorker, public WebServiceWorkerProxy {
+class ServiceWorker final : public AbstractWorker, public WebServiceWorkerProxy {
DEFINE_WRAPPERTYPEINFO();
public:
// For CallbackPromiseAdapter
@@ -64,11 +64,11 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(statechange);
// WebServiceWorkerProxy overrides.
- virtual bool isReady() OVERRIDE;
- virtual void dispatchStateChangeEvent() OVERRIDE;
+ virtual bool isReady() override;
+ virtual void dispatchStateChangeEvent() override;
// AbstractWorker overrides.
- virtual const AtomicString& interfaceName() const OVERRIDE;
+ virtual const AtomicString& interfaceName() const override;
private:
class ThenFunction;
@@ -87,8 +87,8 @@ private:
void waitOnPromise(ScriptPromiseResolver*);
// ActiveDOMObject overrides.
- virtual bool hasPendingActivity() const OVERRIDE;
- virtual void stop() OVERRIDE;
+ virtual bool hasPendingActivity() const override;
+ virtual void stop() override;
OwnPtr<WebServiceWorker> m_outerWorker;
ProxyState m_proxyState;
« no previous file with comments | « Source/modules/serviceworkers/Response.h ('k') | Source/modules/serviceworkers/ServiceWorker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698