OLD | NEW |
1 /** | 1 /** |
2 * @constructor | 2 * @constructor |
3 * @extends {WebInspector.SDKModel} | 3 * @extends {WebInspector.SDKModel} |
4 * @param {!WebInspector.Target} target | 4 * @param {!WebInspector.Target} target |
5 */ | 5 */ |
6 WebInspector.HeapProfilerModel = function(target) | 6 WebInspector.HeapProfilerModel = function(target) |
7 { | 7 { |
8 WebInspector.SDKModel.call(this, WebInspector.HeapProfilerModel, target); | 8 WebInspector.SDKModel.call(this, WebInspector.HeapProfilerModel, target); |
9 target.registerHeapProfilerDispatcher(new WebInspector.HeapProfilerDispatche
r(this)); | 9 target.registerHeapProfilerDispatcher(new WebInspector.HeapProfilerDispatche
r(this)); |
10 this._enabled = false; | 10 this._enabled = false; |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 this._heapProfilerModel.reportHeapSnapshotProgress(done, total, finished
); | 138 this._heapProfilerModel.reportHeapSnapshotProgress(done, total, finished
); |
139 }, | 139 }, |
140 | 140 |
141 /** | 141 /** |
142 * @override | 142 * @override |
143 */ | 143 */ |
144 resetProfiles: function() | 144 resetProfiles: function() |
145 { | 145 { |
146 this._heapProfilerModel.resetProfiles(); | 146 this._heapProfilerModel.resetProfiles(); |
147 } | 147 } |
148 } | 148 } |
OLD | NEW |