| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |