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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerRegistration.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
Index: Source/modules/serviceworkers/ServiceWorkerRegistration.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerRegistration.h b/Source/modules/serviceworkers/ServiceWorkerRegistration.h
index 95bc48293d3982ea14dc7eee0dc1bd1f73b73456..3538b377dadc253730786c27eeed49d321c24661 100644
--- a/Source/modules/serviceworkers/ServiceWorkerRegistration.h
+++ b/Source/modules/serviceworkers/ServiceWorkerRegistration.h
@@ -22,7 +22,7 @@ class ScriptPromiseResolver;
class ScriptState;
class WebServiceWorkerProvider;
-class ServiceWorkerRegistration FINAL
+class ServiceWorkerRegistration final
: public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<ServiceWorkerRegistration>
, public ActiveDOMObject
, public EventTargetWithInlineData
@@ -32,14 +32,14 @@ class ServiceWorkerRegistration FINAL
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ServiceWorkerRegistration);
public:
// EventTarget overrides.
- virtual const AtomicString& interfaceName() const OVERRIDE;
- virtual ExecutionContext* executionContext() const OVERRIDE { return ActiveDOMObject::executionContext(); }
+ virtual const AtomicString& interfaceName() const override;
+ virtual ExecutionContext* executionContext() const override { return ActiveDOMObject::executionContext(); }
// WebServiceWorkerRegistrationProxy overrides.
- virtual void dispatchUpdateFoundEvent() OVERRIDE;
- virtual void setInstalling(WebServiceWorker*) OVERRIDE;
- virtual void setWaiting(WebServiceWorker*) OVERRIDE;
- virtual void setActive(WebServiceWorker*) OVERRIDE;
+ virtual void dispatchUpdateFoundEvent() override;
+ virtual void setInstalling(WebServiceWorker*) override;
+ virtual void setWaiting(WebServiceWorker*) override;
+ virtual void setActive(WebServiceWorker*) override;
// For CallbackPromiseAdapter.
typedef WebServiceWorkerRegistration WebType;
@@ -57,15 +57,15 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(updatefound);
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
static ServiceWorkerRegistration* getOrCreate(ExecutionContext*, WebServiceWorkerRegistration*);
ServiceWorkerRegistration(ExecutionContext*, PassOwnPtr<WebServiceWorkerRegistration>);
// ActiveDOMObject overrides.
- virtual bool hasPendingActivity() const OVERRIDE;
- virtual void stop() OVERRIDE;
+ virtual bool hasPendingActivity() const override;
+ virtual void stop() override;
OwnPtr<WebServiceWorkerRegistration> m_outerRegistration;
WebServiceWorkerProvider* m_provider;
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerGlobalScope.h ('k') | Source/modules/serviceworkers/ServiceWorkerThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698