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

Unified Diff: chrome/browser/resources/media_internals/event_list.js

Issue 10332082: Remove reporting statistics reporting from chrome://media-internals and fix event logging. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: fix year Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/base/media_log.h » ('j') | media/base/media_log.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/media_internals/event_list.js
diff --git a/chrome/browser/resources/media_internals/event_list.js b/chrome/browser/resources/media_internals/event_list.js
index ce22f569d07d11e69b0f86cba22df9d6da456fcd..fc13c05f9f2774615a7fdd9fbc0e96d083c30fb9 100644
--- a/chrome/browser/resources/media_internals/event_list.js
+++ b/chrome/browser/resources/media_internals/event_list.js
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -49,8 +49,8 @@ cr.define('media', function() {
row.appendChild(media.makeElement('td', timeInMs.toFixed(1)));
row.appendChild(media.makeElement('td', event.type));
var params = [];
- for (var i = 0; i < event.params.length; ++i) {
- params.push(i + ': ' + event.params[i]);
+ for (var key in event.params) {
+ params.push(key + ': ' + event.params[key]);
}
row.appendChild(media.makeElement('td', params.join(', ')));
« no previous file with comments | « no previous file | media/base/media_log.h » ('j') | media/base/media_log.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698