OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 'use strict'; | 5 'use strict'; |
6 | 6 |
7 /** | 7 /** |
8 * @type {FileManager} | 8 * @type {FileManager} |
9 */ | 9 */ |
10 var fileManager; | 10 var fileManager; |
(...skipping 21 matching lines...) Expand all Loading... |
32 fileManager = new FileManager(); | 32 fileManager = new FileManager(); |
33 | 33 |
34 // Initialize the core stuff, which doesn't require access to DOM nor to | 34 // Initialize the core stuff, which doesn't require access to DOM nor to |
35 // additional scripts. | 35 // additional scripts. |
36 fileManager.initializeCore(); | 36 fileManager.initializeCore(); |
37 | 37 |
38 // Final initialization is performed after all scripts and Dom is loaded. | 38 // Final initialization is performed after all scripts and Dom is loaded. |
39 util.addPageLoadHandler(init); | 39 util.addPageLoadHandler(init); |
40 | 40 |
41 metrics.recordInterval('Load.Script'); // Must be the last line. | 41 metrics.recordInterval('Load.Script'); // Must be the last line. |
OLD | NEW |