blob: 658d3277e7075e184943325c41bfeb76d7f08b10 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @unrestricted
*/
Profiler.ProfileTypeRegistry = class {
constructor() {
this.cpuProfileType = new Profiler.CPUProfileType();
this.heapSnapshotProfileType = new Profiler.HeapSnapshotProfileType();
this.samplingHeapProfileType = new Profiler.SamplingHeapProfileType();
this.samplingNativeHeapProfileType = new Profiler.SamplingNativeHeapProfileType();
this.samplingNativeHeapSnapshotType = new Profiler.SamplingNativeHeapSnapshotType();
this.trackingHeapSnapshotProfileType = new Profiler.TrackingHeapSnapshotProfileType();
}
};
Profiler.ProfileTypeRegistry.instance = new Profiler.ProfileTypeRegistry();