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

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

Issue 27000005: Remove HeapProfiler.finishHeapSnapshot event from remote debugging protocol (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed heap profiler test Created 7 years, 2 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
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 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 this._reset(); 761 this._reset();
762 }, 762 },
763 763
764 /** @deprecated To be removed from the protocol */ 764 /** @deprecated To be removed from the protocol */
765 addHeapSnapshotChunk: function(uid, chunk) 765 addHeapSnapshotChunk: function(uid, chunk)
766 { 766 {
767 throw new Error("Never called"); 767 throw new Error("Never called");
768 }, 768 },
769 769
770 /** @deprecated To be removed from the protocol */ 770 /** @deprecated To be removed from the protocol */
771 finishHeapSnapshot: function(uid)
772 {
773 throw new Error("Never called");
774 },
775
776 /** @deprecated To be removed from the protocol */
777 reportHeapSnapshotProgress: function(done, total) 771 reportHeapSnapshotProgress: function(done, total)
778 { 772 {
779 throw new Error("Never called"); 773 throw new Error("Never called");
780 }, 774 },
781 775
782 __proto__: WebInspector.ProfileType.prototype 776 __proto__: WebInspector.ProfileType.prototype
783 } 777 }
784 778
785 /** 779 /**
786 * @constructor 780 * @constructor
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 { 910 {
917 this.sidebarElement.subtitle = WebInspector.UIString("Loading\u2026"); 911 this.sidebarElement.subtitle = WebInspector.UIString("Loading\u2026");
918 this.sidebarElement.wait = true; 912 this.sidebarElement.wait = true;
919 913
920 var fileReader = new WebInspector.ChunkedFileReader(file, 10000000, this ); 914 var fileReader = new WebInspector.ChunkedFileReader(file, 10000000, this );
921 fileReader.start(this); 915 fileReader.start(this);
922 }, 916 },
923 917
924 __proto__: WebInspector.ProfileHeader.prototype 918 __proto__: WebInspector.ProfileHeader.prototype
925 } 919 }
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorHeapProfilerAgent.cpp ('k') | Source/devtools/front_end/HeapSnapshotView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698