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

Unified Diff: Source/core/inspector/InspectorTimelineAgent.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/InspectorState.h ('k') | Source/core/inspector/InspectorWorkerAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorTimelineAgent.h
diff --git a/Source/core/inspector/InspectorTimelineAgent.h b/Source/core/inspector/InspectorTimelineAgent.h
index 174e94a08f2c4eb8c74cac51087942dd2036179a..b562c8fcbf075a51917d6b16c1a9037fd5e8cd01 100644
--- a/Source/core/inspector/InspectorTimelineAgent.h
+++ b/Source/core/inspector/InspectorTimelineAgent.h
@@ -109,7 +109,7 @@ private:
double m_startOffset;
};
-class InspectorTimelineAgent
+class InspectorTimelineAgent FINAL
: public TraceEventTarget<InspectorTimelineAgent>
, public InspectorBaseAgent<InspectorTimelineAgent>
, public ScriptGCEventListener
@@ -138,16 +138,16 @@ public:
return adoptPtr(new InspectorTimelineAgent(instrumentingAgents, pageAgent, domAgent, overlay, state, type, client));
}
- ~InspectorTimelineAgent();
+ virtual ~InspectorTimelineAgent();
- virtual void setFrontend(InspectorFrontend*);
- virtual void clearFrontend();
- virtual void restore();
+ virtual void setFrontend(InspectorFrontend*) OVERRIDE;
+ virtual void clearFrontend() OVERRIDE;
+ virtual void restore() OVERRIDE;
- virtual void enable(ErrorString*);
- virtual void disable(ErrorString*);
- virtual void start(ErrorString*, const int* maxCallStackDepth, const bool* bufferEvents, const bool* includeCounters, const bool* includeGPUEvents);
- virtual void stop(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Timeline::TimelineEvent> >& events);
+ virtual void enable(ErrorString*) OVERRIDE;
+ virtual void disable(ErrorString*) OVERRIDE;
+ virtual void start(ErrorString*, const int* maxCallStackDepth, const bool* bufferEvents, const bool* includeCounters, const bool* includeGPUEvents) OVERRIDE;
+ virtual void stop(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Timeline::TimelineEvent> >& events) OVERRIDE;
void setLayerTreeId(int layerTreeId) { m_layerTreeId = layerTreeId; }
int id() const { return m_id; }
@@ -239,7 +239,7 @@ public:
void processGPUEvent(const GPUEvent&);
// ScriptGCEventListener methods.
- virtual void didGC(double, double, size_t);
+ virtual void didGC(double, double, size_t) OVERRIDE;
// PlatformInstrumentationClient methods.
virtual void willDecodeImage(const String& imageType) OVERRIDE;
« no previous file with comments | « Source/core/inspector/InspectorState.h ('k') | Source/core/inspector/InspectorWorkerAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698