| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyrightdd | 8 * * Redistributions of source code must retain the above copyrightdd |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 calculateSnapshotDiff: function(baseSnapshotId, baseSnapshotAggregates, call
back) | 329 calculateSnapshotDiff: function(baseSnapshotId, baseSnapshotAggregates, call
back) |
| 330 { | 330 { |
| 331 this.callMethod(callback, "calculateSnapshotDiff", baseSnapshotId, baseS
napshotAggregates); | 331 this.callMethod(callback, "calculateSnapshotDiff", baseSnapshotId, baseS
napshotAggregates); |
| 332 }, | 332 }, |
| 333 | 333 |
| 334 nodeClassName: function(snapshotObjectId, callback) | 334 nodeClassName: function(snapshotObjectId, callback) |
| 335 { | 335 { |
| 336 this.callMethod(callback, "nodeClassName", snapshotObjectId); | 336 this.callMethod(callback, "nodeClassName", snapshotObjectId); |
| 337 }, | 337 }, |
| 338 | 338 |
| 339 dominatorIdsForNode: function(nodeIndex, callback) | |
| 340 { | |
| 341 this.callMethod(callback, "dominatorIdsForNode", nodeIndex); | |
| 342 }, | |
| 343 | |
| 344 /** | 339 /** |
| 345 * @param {number} nodeIndex | 340 * @param {number} nodeIndex |
| 346 * @return {!WebInspector.HeapSnapshotProviderProxy} | 341 * @return {!WebInspector.HeapSnapshotProviderProxy} |
| 347 */ | 342 */ |
| 348 createEdgesProvider: function(nodeIndex) | 343 createEdgesProvider: function(nodeIndex) |
| 349 { | 344 { |
| 350 return this.callFactoryMethod(null, "createEdgesProvider", WebInspector.
HeapSnapshotProviderProxy, nodeIndex); | 345 return this.callFactoryMethod(null, "createEdgesProvider", WebInspector.
HeapSnapshotProviderProxy, nodeIndex); |
| 351 }, | 346 }, |
| 352 | 347 |
| 353 /** | 348 /** |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 /** | 385 /** |
| 391 * @param {string} className | 386 * @param {string} className |
| 392 * @param {!WebInspector.HeapSnapshotCommon.NodeFilter} nodeFilter | 387 * @param {!WebInspector.HeapSnapshotCommon.NodeFilter} nodeFilter |
| 393 * @return {?WebInspector.HeapSnapshotProviderProxy} | 388 * @return {?WebInspector.HeapSnapshotProviderProxy} |
| 394 */ | 389 */ |
| 395 createNodesProviderForClass: function(className, nodeFilter) | 390 createNodesProviderForClass: function(className, nodeFilter) |
| 396 { | 391 { |
| 397 return this.callFactoryMethod(null, "createNodesProviderForClass", WebIn
spector.HeapSnapshotProviderProxy, className, nodeFilter); | 392 return this.callFactoryMethod(null, "createNodesProviderForClass", WebIn
spector.HeapSnapshotProviderProxy, className, nodeFilter); |
| 398 }, | 393 }, |
| 399 | 394 |
| 400 /** | |
| 401 * @param {number} nodeIndex | |
| 402 * @return {?WebInspector.HeapSnapshotProviderProxy} | |
| 403 */ | |
| 404 createNodesProviderForDominator: function(nodeIndex) | |
| 405 { | |
| 406 return this.callFactoryMethod(null, "createNodesProviderForDominator", W
ebInspector.HeapSnapshotProviderProxy, nodeIndex); | |
| 407 }, | |
| 408 | |
| 409 allocationTracesTops: function(callback) | 395 allocationTracesTops: function(callback) |
| 410 { | 396 { |
| 411 this.callMethod(callback, "allocationTracesTops"); | 397 this.callMethod(callback, "allocationTracesTops"); |
| 412 }, | 398 }, |
| 413 | 399 |
| 414 /** | 400 /** |
| 415 * @param {number} nodeId | 401 * @param {number} nodeId |
| 416 * @param {function(!WebInspector.HeapSnapshotCommon.AllocationNodeCallers)}
callback | 402 * @param {function(!WebInspector.HeapSnapshotCommon.AllocationNodeCallers)}
callback |
| 417 */ | 403 */ |
| 418 allocationNodeCallers: function(nodeId, callback) | 404 allocationNodeCallers: function(nodeId, callback) |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 * @param {!WebInspector.HeapSnapshotCommon.ComparatorConfig} comparator | 527 * @param {!WebInspector.HeapSnapshotCommon.ComparatorConfig} comparator |
| 542 * @param {function()} callback | 528 * @param {function()} callback |
| 543 */ | 529 */ |
| 544 sortAndRewind: function(comparator, callback) | 530 sortAndRewind: function(comparator, callback) |
| 545 { | 531 { |
| 546 this.callMethod(callback, "sortAndRewind", comparator); | 532 this.callMethod(callback, "sortAndRewind", comparator); |
| 547 }, | 533 }, |
| 548 | 534 |
| 549 __proto__: WebInspector.HeapSnapshotProxyObject.prototype | 535 __proto__: WebInspector.HeapSnapshotProxyObject.prototype |
| 550 } | 536 } |
| OLD | NEW |