function profileCallback(heapSnapshotProxy)
        {
            heapSnapshotProxy.getStatistics().then(this._gotStatistics.bind(this));
            if (this._profile.profileType().id === WebInspector.TrackingHeapSnapshotProfileType.TypeId && this._profile.fromFile())
                heapSnapshotProxy.getSamples().then(didGetSamples.bind(this, heapSnapshotProxy));
            else
                setSnapshotProxy.call(this, heapSnapshotProxy);
        }
@param {!WebInspector.HeapSnapshotProxy} heapSnapshotProxy
@this {WebInspector.HeapSnapshotView}