| 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 copyright | 8 * * Redistributions of source code must retain the above copyright |
| 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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 PopulateComplete: Symbol('PopulateComplete') | 436 PopulateComplete: Symbol('PopulateComplete') |
| 437 }; | 437 }; |
| 438 | 438 |
| 439 | 439 |
| 440 /** | 440 /** |
| 441 * @interface | 441 * @interface |
| 442 */ | 442 */ |
| 443 Profiler.HeapSnapshotGridNode.ChildrenProvider = function() {}; | 443 Profiler.HeapSnapshotGridNode.ChildrenProvider = function() {}; |
| 444 | 444 |
| 445 Profiler.HeapSnapshotGridNode.ChildrenProvider.prototype = { | 445 Profiler.HeapSnapshotGridNode.ChildrenProvider.prototype = { |
| 446 dispose: function() {}, | 446 dispose() {}, |
| 447 | 447 |
| 448 /** | 448 /** |
| 449 * @param {number} snapshotObjectId | 449 * @param {number} snapshotObjectId |
| 450 * @return {!Promise<number>} | 450 * @return {!Promise<number>} |
| 451 */ | 451 */ |
| 452 nodePosition: function(snapshotObjectId) {}, | 452 nodePosition(snapshotObjectId) {}, |
| 453 | 453 |
| 454 /** | 454 /** |
| 455 * @param {function(boolean)} callback | 455 * @param {function(boolean)} callback |
| 456 */ | 456 */ |
| 457 isEmpty: function(callback) {}, | 457 isEmpty(callback) {}, |
| 458 | 458 |
| 459 /** | 459 /** |
| 460 * @param {number} startPosition | 460 * @param {number} startPosition |
| 461 * @param {number} endPosition | 461 * @param {number} endPosition |
| 462 * @param {function(!Profiler.HeapSnapshotCommon.ItemsRange)} callback | 462 * @param {function(!Profiler.HeapSnapshotCommon.ItemsRange)} callback |
| 463 */ | 463 */ |
| 464 serializeItemsRange: function(startPosition, endPosition, callback) {}, | 464 serializeItemsRange(startPosition, endPosition, callback) {}, |
| 465 | 465 |
| 466 /** | 466 /** |
| 467 * @param {!Profiler.HeapSnapshotCommon.ComparatorConfig} comparator | 467 * @param {!Profiler.HeapSnapshotCommon.ComparatorConfig} comparator |
| 468 * @return {!Promise<?>} | 468 * @return {!Promise<?>} |
| 469 */ | 469 */ |
| 470 sortAndRewind: function(comparator) {} | 470 sortAndRewind(comparator) {} |
| 471 }; | 471 }; |
| 472 | 472 |
| 473 /** | 473 /** |
| 474 * @unrestricted | 474 * @unrestricted |
| 475 */ | 475 */ |
| 476 Profiler.HeapSnapshotGenericObjectNode = class extends Profiler.HeapSnapshotGrid
Node { | 476 Profiler.HeapSnapshotGenericObjectNode = class extends Profiler.HeapSnapshotGrid
Node { |
| 477 /** | 477 /** |
| 478 * @param {!Profiler.HeapSnapshotSortableDataGrid} dataGrid | 478 * @param {!Profiler.HeapSnapshotSortableDataGrid} dataGrid |
| 479 * @param {!Profiler.HeapSnapshotCommon.Node} node | 479 * @param {!Profiler.HeapSnapshotCommon.Node} node |
| 480 */ | 480 */ |
| (...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1440 return cell; | 1440 return cell; |
| 1441 } | 1441 } |
| 1442 | 1442 |
| 1443 /** | 1443 /** |
| 1444 * @return {number} | 1444 * @return {number} |
| 1445 */ | 1445 */ |
| 1446 allocationNodeId() { | 1446 allocationNodeId() { |
| 1447 return this._allocationNode.id; | 1447 return this._allocationNode.id; |
| 1448 } | 1448 } |
| 1449 }; | 1449 }; |
| OLD | NEW |