| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 * Main entry point called once the page has loaded. | 6 * Main entry point called once the page has loaded. |
| 7 */ | 7 */ |
| 8 function onLoad() { | 8 function onLoad() { |
| 9 NetExportView.getInstance(); | 9 NetExportView.getInstance(); |
| 10 } | 10 } |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 $('export-view-stop-data').disabled = false; | 115 $('export-view-stop-data').disabled = false; |
| 116 } else if (exportNetLogInfo.state == 'UNINITIALIZED') { | 116 } else if (exportNetLogInfo.state == 'UNINITIALIZED') { |
| 117 $('export-view-file-path-text').textContent = | 117 $('export-view-file-path-text').textContent = |
| 118 'Unable to initialize NetLog data file.'; | 118 'Unable to initialize NetLog data file.'; |
| 119 } | 119 } |
| 120 } | 120 } |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 return NetExportView; | 123 return NetExportView; |
| 124 })(); | 124 })(); |
| OLD | NEW |