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

Unified Diff: Source/core/inspector/InspectorWorkerAgent.h

Issue 135703002: Update inspector classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: No change under web/ Created 6 years, 11 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/inspector/InspectorTimelineAgent.h ('k') | Source/core/inspector/InspectorWorkerAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorWorkerAgent.h
diff --git a/Source/core/inspector/InspectorWorkerAgent.h b/Source/core/inspector/InspectorWorkerAgent.h
index 316f8546712541c1e804464e3132620be9d67227..012243605bd2eb6285780211dc49f3f910f8e4d5 100644
--- a/Source/core/inspector/InspectorWorkerAgent.h
+++ b/Source/core/inspector/InspectorWorkerAgent.h
@@ -44,14 +44,14 @@ class WorkerGlobalScopeProxy;
typedef String ErrorString;
-class InspectorWorkerAgent : public InspectorBaseAgent<InspectorWorkerAgent>, public InspectorBackendDispatcher::WorkerCommandHandler {
+class InspectorWorkerAgent FINAL : public InspectorBaseAgent<InspectorWorkerAgent>, public InspectorBackendDispatcher::WorkerCommandHandler {
public:
static PassOwnPtr<InspectorWorkerAgent> create(InstrumentingAgents*, InspectorCompositeState*);
- ~InspectorWorkerAgent();
+ virtual ~InspectorWorkerAgent();
- virtual void setFrontend(InspectorFrontend*);
- virtual void restore();
- virtual void clearFrontend();
+ virtual void setFrontend(InspectorFrontend*) OVERRIDE;
+ virtual void restore() OVERRIDE;
+ virtual void clearFrontend() OVERRIDE;
// Called from InspectorInstrumentation
bool shouldPauseDedicatedWorkerOnStart();
@@ -59,13 +59,13 @@ public:
void workerGlobalScopeTerminated(WorkerGlobalScopeProxy*);
// Called from InspectorBackendDispatcher
- virtual void enable(ErrorString*);
- virtual void disable(ErrorString*);
- virtual void canInspectWorkers(ErrorString*, bool*);
- virtual void connectToWorker(ErrorString*, int workerId);
- virtual void disconnectFromWorker(ErrorString*, int workerId);
- virtual void sendMessageToWorker(ErrorString*, int workerId, const RefPtr<JSONObject>& message);
- virtual void setAutoconnectToWorkers(ErrorString*, bool value);
+ virtual void enable(ErrorString*) OVERRIDE;
+ virtual void disable(ErrorString*) OVERRIDE;
+ virtual void canInspectWorkers(ErrorString*, bool*) OVERRIDE;
+ virtual void connectToWorker(ErrorString*, int workerId) OVERRIDE;
+ virtual void disconnectFromWorker(ErrorString*, int workerId) OVERRIDE;
+ virtual void sendMessageToWorker(ErrorString*, int workerId, const RefPtr<JSONObject>& message) OVERRIDE;
+ virtual void setAutoconnectToWorkers(ErrorString*, bool value) OVERRIDE;
private:
InspectorWorkerAgent(InstrumentingAgents*, InspectorCompositeState*);
« no previous file with comments | « Source/core/inspector/InspectorTimelineAgent.h ('k') | Source/core/inspector/InspectorWorkerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698