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

Unified Diff: Source/core/workers/Worker.h

Issue 631133003: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/workers (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/core/workers/SharedWorkerThread.h ('k') | Source/core/workers/WorkerClients.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/Worker.h
diff --git a/Source/core/workers/Worker.h b/Source/core/workers/Worker.h
index 78dec40551fcac8ae951770221e3a7a04de7d78a..42392a11ec021877279200768a957f06f511f61a 100644
--- a/Source/core/workers/Worker.h
+++ b/Source/core/workers/Worker.h
@@ -46,31 +46,31 @@ class ExecutionContext;
class WorkerGlobalScopeProxy;
class WorkerScriptLoader;
-class Worker FINAL : public AbstractWorker, private WorkerScriptLoaderClient {
+class Worker final : public AbstractWorker, private WorkerScriptLoaderClient {
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<Worker> create(ExecutionContext*, const String& url, ExceptionState&);
virtual ~Worker();
- virtual const AtomicString& interfaceName() const OVERRIDE;
+ virtual const AtomicString& interfaceName() const override;
void postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue> message, const MessagePortArray*, ExceptionState&);
void terminate();
- virtual void stop() OVERRIDE;
- virtual bool hasPendingActivity() const OVERRIDE;
+ virtual void stop() override;
+ virtual bool hasPendingActivity() const override;
DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
explicit Worker(ExecutionContext*);
// WorkerScriptLoaderClient callbacks
- virtual void didReceiveResponse(unsigned long identifier, const ResourceResponse&) OVERRIDE;
- virtual void notifyFinished() OVERRIDE;
+ virtual void didReceiveResponse(unsigned long identifier, const ResourceResponse&) override;
+ virtual void notifyFinished() override;
RefPtr<WorkerScriptLoader> m_scriptLoader;
WorkerGlobalScopeProxy* m_contextProxy; // The proxy outlives the worker to perform thread shutdown.
« no previous file with comments | « Source/core/workers/SharedWorkerThread.h ('k') | Source/core/workers/WorkerClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698