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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/resources/heap-snapshot-common.js

Issue 2626173002: DevTools: Extract HeapSnapshotCommon.js into HeapSnapshotModel module (Closed)
Patch Set: add module.json for modules Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This script is supposed to be evaluated in dummy inspector front-end which is loaded from 1 // This script is supposed to be evaluated in dummy inspector front-end which is loaded from
2 // ../../../http/tests/inspector-protocol/resources/protocol-test.html and the r elative paths 2 // ../../../http/tests/inspector-protocol/resources/protocol-test.html and the r elative paths
3 // below are relative to that location. 3 // below are relative to that location.
4 4
5 if (!window.WebInspector) 5 if (!window.WebInspector)
6 window.WebInspector = {}; 6 window.WebInspector = {};
7 7
8 self['Common'] = {}; 8 self['Common'] = {};
9 self['Profiler'] = {}; 9 self['HeapSnapshotModel'] = {};
10 self['HeapSnapshotWorker'] = {}; 10 self['HeapSnapshotWorker'] = {};
11 11
12 InspectorTest.importScript("../../../../../Source/devtools/front_end/platform/ut ilities.js"); 12 InspectorTest.importScript("../../../../../Source/devtools/front_end/platform/ut ilities.js");
13 InspectorTest.importScript("../../../../../Source/devtools/front_end/common/UISt ring.js"); 13 InspectorTest.importScript("../../../../../Source/devtools/front_end/common/UISt ring.js");
14 InspectorTest.importScript("../../../../../Source/devtools/front_end/profiler/He apSnapshotCommon.js"); 14 InspectorTest.importScript("../../../../../Source/devtools/front_end/heap_snapsh ot_model/HeapSnapshotModel.js");
15 InspectorTest.importScript("../../../../../Source/devtools/front_end/heap_snapsh ot_worker/HeapSnapshot.js"); 15 InspectorTest.importScript("../../../../../Source/devtools/front_end/heap_snapsh ot_worker/HeapSnapshot.js");
16 InspectorTest.importScript("../../../../../Source/devtools/front_end/common/Text Utils.js"); 16 InspectorTest.importScript("../../../../../Source/devtools/front_end/common/Text Utils.js");
17 InspectorTest.importScript("../../../../../Source/devtools/front_end/heap_snapsh ot_worker/HeapSnapshotLoader.js"); 17 InspectorTest.importScript("../../../../../Source/devtools/front_end/heap_snapsh ot_worker/HeapSnapshotLoader.js");
18 18
19 InspectorTest.fail = function(message) 19 InspectorTest.fail = function(message)
20 { 20 {
21 InspectorTest.log("FAIL: " + message); 21 InspectorTest.log("FAIL: " + message);
22 InspectorTest.completeTest(); 22 InspectorTest.completeTest();
23 } 23 }
24 24
(...skipping 18 matching lines...) Expand all
43 43
44 InspectorTest.takeHeapSnapshot = function(callback) 44 InspectorTest.takeHeapSnapshot = function(callback)
45 { 45 {
46 InspectorTest._takeHeapSnapshotInternal("HeapProfiler.takeHeapSnapshot", cal lback); 46 InspectorTest._takeHeapSnapshotInternal("HeapProfiler.takeHeapSnapshot", cal lback);
47 } 47 }
48 48
49 InspectorTest.stopRecordingHeapTimeline = function(callback) 49 InspectorTest.stopRecordingHeapTimeline = function(callback)
50 { 50 {
51 InspectorTest._takeHeapSnapshotInternal("HeapProfiler.stopTrackingHeapObject s", callback); 51 InspectorTest._takeHeapSnapshotInternal("HeapProfiler.stopTrackingHeapObject s", callback);
52 } 52 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698