| 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 * This view displays information on the HTTP cache. | 6 * This view displays information on the HTTP cache. |
| 7 * @constructor | 7 * @constructor |
| 8 */ | 8 */ |
| 9 function HttpCacheView() { | 9 function HttpCacheView() { |
| 10 const mainBoxId = 'httpCacheTabContent'; | 10 const mainBoxId = 'httpCacheTabContent'; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 // Print the statistics. | 33 // Print the statistics. |
| 34 var statsUl = addNode(this.statsDiv_, 'ul'); | 34 var statsUl = addNode(this.statsDiv_, 'ul'); |
| 35 for (var statName in info.stats) { | 35 for (var statName in info.stats) { |
| 36 var li = addNode(statsUl, 'li'); | 36 var li = addNode(statsUl, 'li'); |
| 37 addTextNode(li, statName + ': ' + info.stats[statName]); | 37 addTextNode(li, statName + ': ' + info.stats[statName]); |
| 38 } | 38 } |
| 39 return true; | 39 return true; |
| 40 }; | 40 }; |
| 41 | 41 |
| OLD | NEW |