Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: Source/devtools/front_end/HeapSnapshotProxy.js

Issue 23609064: Make "three snapshot technique" work on heap snapshots loaded from files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 createNodesProviderForClass: function(className, aggregatesKey) 471 createNodesProviderForClass: function(className, aggregatesKey)
472 { 472 {
473 return this.callFactoryMethod(null, "createNodesProviderForClass", WebIn spector.HeapSnapshotProviderProxy, className, aggregatesKey); 473 return this.callFactoryMethod(null, "createNodesProviderForClass", WebIn spector.HeapSnapshotProviderProxy, className, aggregatesKey);
474 }, 474 },
475 475
476 createNodesProviderForDominator: function(nodeIndex) 476 createNodesProviderForDominator: function(nodeIndex)
477 { 477 {
478 return this.callFactoryMethod(null, "createNodesProviderForDominator", W ebInspector.HeapSnapshotProviderProxy, nodeIndex); 478 return this.callFactoryMethod(null, "createNodesProviderForDominator", W ebInspector.HeapSnapshotProviderProxy, nodeIndex);
479 }, 479 },
480 480
481 maxJsNodeId: function(callback)
482 {
483 this.callMethod(callback, "maxJsNodeId");
484 },
485
481 allocationTracesTops: function(callback) 486 allocationTracesTops: function(callback)
482 { 487 {
483 this.callMethod(callback, "allocationTracesTops"); 488 this.callMethod(callback, "allocationTracesTops");
484 }, 489 },
485 490
486 allocationNodeCallers: function(nodeId, callback) 491 allocationNodeCallers: function(nodeId, callback)
487 { 492 {
488 this.callMethod(callback, "allocationNodeCallers", nodeId); 493 this.callMethod(callback, "allocationNodeCallers", nodeId);
489 }, 494 },
490 495
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 }, 558 },
554 559
555 sortAndRewind: function(comparator, callback) 560 sortAndRewind: function(comparator, callback)
556 { 561 {
557 this.callMethod(callback, "sortAndRewind", comparator); 562 this.callMethod(callback, "sortAndRewind", comparator);
558 }, 563 },
559 564
560 __proto__: WebInspector.HeapSnapshotProxyObject.prototype 565 __proto__: WebInspector.HeapSnapshotProxyObject.prototype
561 } 566 }
562 567
OLDNEW
« no previous file with comments | « Source/devtools/front_end/HeapSnapshot.js ('k') | Source/devtools/front_end/HeapSnapshotView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698