| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 * TODO(eroman): This needs better presentation, and cleaner code. This | 6 * TODO(eroman): This needs better presentation, and cleaner code. This |
| 7 * implementation is more of a transitionary step as | 7 * implementation is more of a transitionary step as |
| 8 * the old net-internals is replaced. | 8 * the old net-internals is replaced. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 var result = []; | 459 var result = []; |
| 460 for (var i = 0; i < modes.length; ++i) | 460 for (var i = 0; i < modes.length; ++i) |
| 461 result.push(indentLines('(' + (i + 1) + ') ', modes[i])); | 461 result.push(indentLines('(' + (i + 1) + ') ', modes[i])); |
| 462 | 462 |
| 463 return result.join('\n'); | 463 return result.join('\n'); |
| 464 }; | 464 }; |
| 465 | 465 |
| 466 // End of anonymous namespace. | 466 // End of anonymous namespace. |
| 467 })(); | 467 })(); |
| 468 | 468 |
| OLD | NEW |