| 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;
|
|
|