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

Unified Diff: chrome/browser/resources/media/webrtc_logs.js

Issue 1405373002: Fix WebRTC log list errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated log uploader unit test. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/media/webrtc_logs.js
diff --git a/chrome/browser/resources/media/webrtc_logs.js b/chrome/browser/resources/media/webrtc_logs.js
index 21c8c120133008a6b3441955606e537a4fe32ca0..8ccf247cc02e1bc483b42b66294ba92e8fdda7f8 100644
--- a/chrome/browser/resources/media/webrtc_logs.js
+++ b/chrome/browser/resources/media/webrtc_logs.js
@@ -29,6 +29,10 @@ function updateWebRtcLogsList(uploads, version) {
var logBlock = document.createElement('div');
var title = document.createElement('h3');
+ // TODO(grunell): Use |capture_time| only. If empty, show "Unknown" or such.
+ // In october 2015, capture time was added to the log list, previously the
+ // local ID was used as capture time. It still needs to be backwards
+ // compatible for some time before changing here.
tommi (sloooow) - chröme 2015/10/16 18:24:48 Should the log include version information?
Henrik Grunell 2015/10/19 10:53:24 I assume you mean the log list, and update an old
tommi (sloooow) - chröme 2015/10/19 11:11:09 What I was getting at is that if we could say "ver
Henrik Grunell 2015/10/19 12:43:46 We'd have to convert the list info the new version
tommi (sloooow) - chröme 2015/10/19 12:51:42 What about changing capture_time in the C++ code t
Henrik Grunell 2015/10/19 12:58:32 I've already done that. :) Forgot to mention it la
title.textContent =
loadTimeData.getStringF('webrtcLogHeaderFormat',
upload['capture_time'].length != 0 ?

Powered by Google App Engine
This is Rietveld 408576698