OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |