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

Unified Diff: content/browser/resources/media/dump_creator.js

Issue 2543493003: webrtc-internals: add useragent to JSON dump (Closed)
Patch Set: Created 4 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/resources/media/dump_creator.js
diff --git a/content/browser/resources/media/dump_creator.js b/content/browser/resources/media/dump_creator.js
index 29f053f288ff83240fa3958711c6cebe35d1ba81..aee6509d0fb7ab589be80335ae2ba298097d78c2 100644
--- a/content/browser/resources/media/dump_creator.js
+++ b/content/browser/resources/media/dump_creator.js
@@ -118,6 +118,7 @@ var DumpCreator = (function() {
{
'getUserMedia': userMediaRequests,
'PeerConnections': peerConnectionDataStore,
+ 'User-Agent': navigator.userAgent,
hta-webrtc 2016/12/01 14:02:18 Nit: Can we make it "UserAgent"? My head hurts eve
};
var textBlob = new Blob([JSON.stringify(dump_object, null, ' ')],
{type: 'octet/stream'});
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698