| 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 network related log data and is specific fo ChromeOS. | 6 * This view displays network related log data and is specific fo ChromeOS. |
| 7 * We get log data from chrome by filtering system logs for network related | 7 * We get log data from chrome by filtering system logs for network related |
| 8 * keywords. Logs are not fetched until we actually need them. | 8 * keywords. Logs are not fetched until we actually need them. |
| 9 * | 9 * |
| 10 * @constructor | 10 * @constructor |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 g_browser.getSystemLog(visibleLogRows[row].logKey, | 172 g_browser.getSystemLog(visibleLogRows[row].logKey, |
| 173 visibleLogRows[row].logDiv.id); | 173 visibleLogRows[row].logDiv.id); |
| 174 } | 174 } |
| 175 | 175 |
| 176 // In hidden rows we just clear potential log text, so we know we have to get | 176 // In hidden rows we just clear potential log text, so we know we have to get |
| 177 // new contents when we show the row next time. | 177 // new contents when we show the row next time. |
| 178 for (row in hiddenLogRows) { | 178 for (row in hiddenLogRows) { |
| 179 hiddenLogRows[row].logDiv.textContent = ''; | 179 hiddenLogRows[row].logDiv.textContent = ''; |
| 180 } | 180 } |
| 181 }; | 181 }; |
| OLD | NEW |