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

Side by Side Diff: chrome/browser/resources/net_internals/dataview.js

Issue 2832048: Cleanup: Reword a label from "command line switches" to "command line", as th... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 5 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 | « no previous file | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 * This view displays options for importing/exporting the captured data. Its 6 * This view displays options for importing/exporting the captured data. Its
7 * primarily usefulness is to allow users to copy-paste their data in an easy 7 * primarily usefulness is to allow users to copy-paste their data in an easy
8 * to read format for bug reports. 8 * to read format for bug reports.
9 * 9 *
10 * - Has a button to generate a text report. 10 * - Has a button to generate a text report.
(...skipping 26 matching lines...) Expand all
37 text.push('Number of passively captured events: ' + 37 text.push('Number of passively captured events: ' +
38 g_browser.getAllPassivelyCapturedEvents().length); 38 g_browser.getAllPassivelyCapturedEvents().length);
39 text.push('Number of actively captured events: ' + 39 text.push('Number of actively captured events: ' +
40 g_browser.getAllActivelyCapturedEvents().length); 40 g_browser.getAllActivelyCapturedEvents().length);
41 text.push(''); 41 text.push('');
42 42
43 text.push('Chrome version: ' + ClientInfo.version + 43 text.push('Chrome version: ' + ClientInfo.version +
44 ' (' + ClientInfo.official + 44 ' (' + ClientInfo.official +
45 ' ' + ClientInfo.cl + 45 ' ' + ClientInfo.cl +
46 ') ' + ClientInfo.version_mod); 46 ') ' + ClientInfo.version_mod);
47 text.push('Command line switches: ' + ClientInfo.command_line); 47 text.push('Command line: ' + ClientInfo.command_line);
48 48
49 text.push(''); 49 text.push('');
50 text.push('----------------------------------------------'); 50 text.push('----------------------------------------------');
51 text.push(' Proxy settings'); 51 text.push(' Proxy settings');
52 text.push('----------------------------------------------'); 52 text.push('----------------------------------------------');
53 text.push(''); 53 text.push('');
54 54
55 text.push(g_browser.proxySettings_.currentData_); 55 text.push(g_browser.proxySettings_.currentData_);
56 56
57 text.push(''); 57 text.push('');
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 /** 192 /**
193 * Format a time ticks count as a timestamp. 193 * Format a time ticks count as a timestamp.
194 */ 194 */
195 DataView.prototype.formatExpirationTime_ = function(timeTicks) { 195 DataView.prototype.formatExpirationTime_ = function(timeTicks) {
196 var d = g_browser.convertTimeTicksToDate(timeTicks); 196 var d = g_browser.convertTimeTicksToDate(timeTicks);
197 var isExpired = d.getTime() < (new Date()).getTime(); 197 var isExpired = d.getTime() < (new Date()).getTime();
198 return 't=' + d.getTime() + (isExpired ? ' [EXPIRED]' : ''); 198 return 't=' + d.getTime() + (isExpired ? ' [EXPIRED]' : '');
199 }; 199 };
200 200
201 201
OLDNEW
« 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