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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerGlobalScope.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/ServiceWorkerGlobalScope.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
index 6900582777670cb51fbe577ea2c1f0a004bed3b7..df83c0dec1c8d21a2709e3b92692cda7743252c7 100644
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScope.h
@@ -48,14 +48,14 @@ class ServiceWorkerClients;
class ServiceWorkerThread;
class WorkerThreadStartupData;
-class ServiceWorkerGlobalScope FINAL : public WorkerGlobalScope {
+class ServiceWorkerGlobalScope final : public WorkerGlobalScope {
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<ServiceWorkerGlobalScope> create(ServiceWorkerThread*, PassOwnPtrWillBeRawPtr<WorkerThreadStartupData>);
virtual ~ServiceWorkerGlobalScope();
- virtual bool isServiceWorkerGlobalScope() const OVERRIDE { return true; }
- virtual void stopFetch() OVERRIDE;
+ virtual bool isServiceWorkerGlobalScope() const override { return true; }
+ virtual void stopFetch() override;
// ServiceWorkerGlobalScope.idl
ServiceWorkerClients* clients();
@@ -71,7 +71,7 @@ public:
void close(ExceptionState&);
// EventTarget
- virtual const AtomicString& interfaceName() const OVERRIDE;
+ virtual const AtomicString& interfaceName() const override;
DEFINE_ATTRIBUTE_EVENT_LISTENER(install);
DEFINE_ATTRIBUTE_EVENT_LISTENER(activate);
@@ -79,12 +79,12 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
DEFINE_ATTRIBUTE_EVENT_LISTENER(sync);
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
ServiceWorkerGlobalScope(const KURL&, const String& userAgent, ServiceWorkerThread*, double timeOrigin, const SecurityOrigin*, PassOwnPtrWillBeRawPtr<WorkerClients>);
- virtual void importScripts(const Vector<String>& urls, ExceptionState&) OVERRIDE;
- virtual void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallStack>) OVERRIDE;
+ virtual void importScripts(const Vector<String>& urls, ExceptionState&) override;
+ virtual void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallStack>) override;
PersistentWillBeMember<ServiceWorkerClients> m_clients;
OwnPtr<FetchManager> m_fetchManager;

Powered by Google App Engine
This is Rietveld 408576698