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

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

Issue 136793008: Clear DevTools temp storage (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comments addressed Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/HeapSnapshotView.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 */ 890 */
891 write: function(text) 891 write: function(text)
892 { 892 {
893 this._jsonifiedProfile += text; 893 this._jsonifiedProfile += text;
894 }, 894 },
895 895
896 close: function() { }, 896 close: function() { },
897 897
898 /** 898 /**
899 * @override 899 * @override
900 */
901 dispose: function()
902 {
903 this.removeTempFile();
904 },
905
906 /**
907 * @override
900 * @return {!WebInspector.ProfileSidebarTreeElement} 908 * @return {!WebInspector.ProfileSidebarTreeElement}
901 */ 909 */
902 createSidebarTreeElement: function() 910 createSidebarTreeElement: function()
903 { 911 {
904 return new WebInspector.ProfileSidebarTreeElement(this, "profile-sidebar -tree-item"); 912 return new WebInspector.ProfileSidebarTreeElement(this, "profile-sidebar -tree-item");
905 }, 913 },
906 914
907 /** 915 /**
908 * @override 916 * @override
909 * @param {!WebInspector.ProfilesPanel} profilesPanel 917 * @param {!WebInspector.ProfilesPanel} profilesPanel
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1229 /** 1237 /**
1230 * @param {number} entryIndex 1238 * @param {number} entryIndex
1231 * @return {!Object} 1239 * @return {!Object}
1232 */ 1240 */
1233 entryData: function(entryIndex) 1241 entryData: function(entryIndex)
1234 { 1242 {
1235 return this._timelineData.entryNodes[entryIndex]; 1243 return this._timelineData.entryNodes[entryIndex];
1236 } 1244 }
1237 } 1245 }
1238 1246
OLDNEW
« no previous file with comments | « Source/devtools/devtools.gypi ('k') | Source/devtools/front_end/HeapSnapshotView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698