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

Side by Side Diff: trunk/src/content/browser/resources/media/webrtc_internals.js

Issue 15021010: Revert 199008 "Fixes a memory leak when running webrtc-internals..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 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 | « trunk/src/content/browser/resources/media/timeline_graph_view.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 var peerConnectionsListElem = null; 6 var peerConnectionsListElem = null;
7 var ssrcInfoManager = null; 7 var ssrcInfoManager = null;
8 var peerConnectionUpdateTable = null; 8 var peerConnectionUpdateTable = null;
9 var statsTable = null; 9 var statsTable = null;
10 var dumpCreator = null; 10 var dumpCreator = null;
11 11
12 // The maximum number of data points bufferred for each stats. Old data points
13 // will be shifted out when the buffer is full.
14 var MAX_STATS_DATA_POINT_BUFFER_SIZE = 1000;
15
16 <include src="ssrc_info_manager.js"/> 12 <include src="ssrc_info_manager.js"/>
17 <include src="stats_graph_helper.js"/> 13 <include src="stats_graph_helper.js"/>
18 <include src="stats_table.js"/> 14 <include src="stats_table.js"/>
19 <include src="peer_connection_update_table.js"/> 15 <include src="peer_connection_update_table.js"/>
20 <include src="dump_creator.js"/> 16 <include src="dump_creator.js"/>
21 17
22 function initialize() { 18 function initialize() {
23 peerConnectionsListElem = $('peer-connections-list'); 19 peerConnectionsListElem = $('peer-connections-list');
24 dumpCreator = new DumpCreator(peerConnectionsListElem); 20 dumpCreator = new DumpCreator(peerConnectionsListElem);
25 ssrcInfoManager = new SsrcInfoManager(); 21 ssrcInfoManager = new SsrcInfoManager();
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 163
168 164
169 /** 165 /**
170 * Delegates to dumpCreator to update the recording status. 166 * Delegates to dumpCreator to update the recording status.
171 * @param {!Object.<string>} update Key-value pairs describing the status of the 167 * @param {!Object.<string>} update Key-value pairs describing the status of the
172 * RTP recording. 168 * RTP recording.
173 */ 169 */
174 function updateDumpStatus(update) { 170 function updateDumpStatus(update) {
175 dumpCreator.onUpdate(update); 171 dumpCreator.onUpdate(update);
176 } 172 }
OLDNEW
« no previous file with comments | « trunk/src/content/browser/resources/media/timeline_graph_view.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698