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

Unified Diff: content/browser/resources/gpu/info_view.js

Issue 66213005: Added the current command line to about:gpu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/gpu/info_view.js
diff --git a/content/browser/resources/gpu/info_view.js b/content/browser/resources/gpu/info_view.js
index e53f3a85f06d400606cd8fec3a2ddd2f897b2c2f..13afa4af02deee5d2116555b631b1550fc424f29 100644
--- a/content/browser/resources/gpu/info_view.js
+++ b/content/browser/resources/gpu/info_view.js
@@ -37,6 +37,11 @@ cr.define('gpu', function() {
// Client info
if (browserBridge.clientInfo) {
var clientInfo = browserBridge.clientInfo;
+
+ var commandLineParts = clientInfo.command_line.split(' ');
+ commandLineParts.shift(); // Pop off the exe path
+ var commandLineString = commandLineParts.join(' ')
+
this.setTable_('client-info', [
{
description: 'Data exported',
@@ -65,6 +70,10 @@ cr.define('gpu', function() {
{
description: '2D graphics backend',
value: clientInfo.graphics_backend
+ },
+ {
+ description: 'Command Line Args',
+ value: commandLineString
}]);
} else {
this.setText_('client-info', '... loading...');
« 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