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

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/ProfileTypeRegistry.js

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/profiler/ProfileTypeRegistry.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileTypeRegistry.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileTypeRegistry.js
index 8383b46b8b86f3f02ab2f039691ea45b69bfa2d9..736ad7240e0442ae703f9f31cea2c03f1a5f1e6d 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileTypeRegistry.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileTypeRegistry.js
@@ -4,33 +4,33 @@
/**
* @unrestricted
*/
-WebInspector.ProfileTypeRegistry = class {
+Profiler.ProfileTypeRegistry = class {
constructor() {
this._profileTypes = [];
- this.cpuProfileType = new WebInspector.CPUProfileType();
+ this.cpuProfileType = new Profiler.CPUProfileType();
this._addProfileType(this.cpuProfileType);
- this.heapSnapshotProfileType = new WebInspector.HeapSnapshotProfileType();
+ this.heapSnapshotProfileType = new Profiler.HeapSnapshotProfileType();
this._addProfileType(this.heapSnapshotProfileType);
- this.trackingHeapSnapshotProfileType = new WebInspector.TrackingHeapSnapshotProfileType();
+ this.trackingHeapSnapshotProfileType = new Profiler.TrackingHeapSnapshotProfileType();
this._addProfileType(this.trackingHeapSnapshotProfileType);
- this.samplingHeapProfileType = new WebInspector.SamplingHeapProfileType();
+ this.samplingHeapProfileType = new Profiler.SamplingHeapProfileType();
this._addProfileType(this.samplingHeapProfileType);
}
/**
- * @param {!WebInspector.ProfileType} profileType
+ * @param {!Profiler.ProfileType} profileType
*/
_addProfileType(profileType) {
this._profileTypes.push(profileType);
}
/**
- * @return {!Array.<!WebInspector.ProfileType>}
+ * @return {!Array.<!Profiler.ProfileType>}
*/
profileTypes() {
return this._profileTypes;
}
};
-WebInspector.ProfileTypeRegistry.instance = new WebInspector.ProfileTypeRegistry();
+Profiler.ProfileTypeRegistry.instance = new Profiler.ProfileTypeRegistry();

Powered by Google App Engine
This is Rietveld 408576698