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

Unified Diff: Source/core/inspector/InspectorHeapProfilerAgent.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
Index: Source/core/inspector/InspectorHeapProfilerAgent.h
diff --git a/Source/core/inspector/InspectorHeapProfilerAgent.h b/Source/core/inspector/InspectorHeapProfilerAgent.h
index 65ea526658712e0ec26eb5cd916b80028c8370b2..a694d50bb2a1651cb86720a0a37a439cfed357f0 100644
--- a/Source/core/inspector/InspectorHeapProfilerAgent.h
+++ b/Source/core/inspector/InspectorHeapProfilerAgent.h
@@ -48,30 +48,30 @@ class ScriptHeapSnapshot;
typedef String ErrorString;
-class InspectorHeapProfilerAgent : public InspectorBaseAgent<InspectorHeapProfilerAgent>, public InspectorBackendDispatcher::HeapProfilerCommandHandler {
+class InspectorHeapProfilerAgent FINAL : public InspectorBaseAgent<InspectorHeapProfilerAgent>, public InspectorBackendDispatcher::HeapProfilerCommandHandler {
WTF_MAKE_NONCOPYABLE(InspectorHeapProfilerAgent); WTF_MAKE_FAST_ALLOCATED;
public:
static PassOwnPtr<InspectorHeapProfilerAgent> create(InstrumentingAgents*, InspectorCompositeState*, InjectedScriptManager*);
virtual ~InspectorHeapProfilerAgent();
- virtual void collectGarbage(ErrorString*);
- virtual void clearProfiles(ErrorString*);
+ virtual void collectGarbage(ErrorString*) OVERRIDE;
+ virtual void clearProfiles(ErrorString*) OVERRIDE;
- virtual void enable(ErrorString*);
- virtual void disable(ErrorString*);
- virtual void getHeapSnapshot(ErrorString*, int uid);
- virtual void removeProfile(ErrorString*, int uid);
- virtual void startTrackingHeapObjects(ErrorString*);
- virtual void stopTrackingHeapObjects(ErrorString*, const bool* reportProgress);
+ virtual void enable(ErrorString*) OVERRIDE;
+ virtual void disable(ErrorString*) OVERRIDE;
+ virtual void getHeapSnapshot(ErrorString*, int uid) OVERRIDE;
+ virtual void removeProfile(ErrorString*, int uid) OVERRIDE;
+ virtual void startTrackingHeapObjects(ErrorString*) OVERRIDE;
+ virtual void stopTrackingHeapObjects(ErrorString*, const bool* reportProgress) OVERRIDE;
- 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 takeHeapSnapshot(ErrorString*, const bool* reportProgress);
+ virtual void takeHeapSnapshot(ErrorString*, const bool* reportProgress) OVERRIDE;
- virtual void getObjectByHeapObjectId(ErrorString*, const String& heapSnapshotObjectId, const String* objectGroup, RefPtr<TypeBuilder::Runtime::RemoteObject>& result);
- virtual void getHeapObjectId(ErrorString*, const String& objectId, String* heapSnapshotObjectId);
+ virtual void getObjectByHeapObjectId(ErrorString*, const String& heapSnapshotObjectId, const String* objectGroup, RefPtr<TypeBuilder::Runtime::RemoteObject>& result) OVERRIDE;
+ virtual void getHeapObjectId(ErrorString*, const String& objectId, String* heapSnapshotObjectId) OVERRIDE;
private:
class HeapStatsStream;
« no previous file with comments | « Source/core/inspector/InspectorFrontendHost.cpp ('k') | Source/core/inspector/InspectorHeapProfilerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698