| Index: third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.h
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.h b/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.h
|
| index abbdb05c7928711087d42917f6246f68729f4147..3a3a0424b354f37c6dce3451db2e43c092da3866 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.h
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.h
|
| @@ -62,21 +62,17 @@ public:
|
| void clearFrontend() override;
|
| void restore() override;
|
|
|
| - void collectGarbage(ErrorString*) override;
|
| -
|
| - void disable(ErrorString*) override;
|
| void enable(ErrorString*) override;
|
| - void startTrackingHeapObjects(ErrorString*, const bool* trackAllocations) override;
|
| - void stopTrackingHeapObjects(ErrorString*, const bool* reportProgress) override;
|
| -
|
| - void takeHeapSnapshot(ErrorString*, const bool* reportProgress) override;
|
| -
|
| - void getObjectByHeapObjectId(ErrorString*, const String& heapSnapshotObjectId, const String* objectGroup, RefPtr<protocol::TypeBuilder::Runtime::RemoteObject>& result) override;
|
| - void addInspectedHeapObject(ErrorString*, const String& inspectedHeapObjectId) override;
|
| + void disable(ErrorString*) override;
|
| + void startTrackingHeapObjects(ErrorString*, const OptionalValue<bool>& trackAllocations) override;
|
| + void stopTrackingHeapObjects(ErrorString*, const OptionalValue<bool>& reportProgress) override;
|
| + void takeHeapSnapshot(ErrorString*, const OptionalValue<bool>& reportProgress) override;
|
| + void collectGarbage(ErrorString*) override;
|
| + void getObjectByHeapObjectId(ErrorString*, const String& objectId, const OptionalValue<String>& objectGroup, OwnPtr<protocol::Runtime::RemoteObject>* result) override;
|
| + void addInspectedHeapObject(ErrorString*, const String& heapObjectId) override;
|
| void getHeapObjectId(ErrorString*, const String& objectId, String* heapSnapshotObjectId) override;
|
| -
|
| void startSampling(ErrorString*) override;
|
| - void stopSampling(ErrorString*, RefPtr<protocol::TypeBuilder::HeapProfiler::SamplingHeapProfile>&) override;
|
| + void stopSampling(ErrorString*, OwnPtr<protocol::HeapProfiler::SamplingHeapProfile>*) override;
|
|
|
| private:
|
| class HeapStatsUpdateTask;
|
|
|