Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright 2014 The Chromium Authors. All rights reserved. | 2 * Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * @constructor | 8 * @constructor |
| 9 * @extends {Protocol.Agents} | 9 * @extends {Protocol.Agents} |
| 10 * @param {string} name | 10 * @param {string} name |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 105 { | 105 { |
| 106 if (this._connection.isClosed()) { | 106 if (this._connection.isClosed()) { |
| 107 callback(null); | 107 callback(null); |
| 108 return; | 108 return; |
| 109 } | 109 } |
| 110 | 110 |
| 111 /** @type {!WebInspector.ConsoleModel} */ | 111 /** @type {!WebInspector.ConsoleModel} */ |
| 112 this.consoleModel = new WebInspector.ConsoleModel(this); | 112 this.consoleModel = new WebInspector.ConsoleModel(this); |
| 113 /** @type {!WebInspector.NetworkManager} */ | 113 /** @type {!WebInspector.NetworkManager} */ |
| 114 this.networkManager = new WebInspector.NetworkManager(this); | 114 this.networkManager = new WebInspector.NetworkManager(this); |
| 115 /** @type {!WebInspector.SecurityManager} */ | |
| 116 this.securityManager = new WebInspector.SecurityManager(this); | |
|
lgarron
2015/06/12 19:56:02
If I move SecurityManager.js to security/ instead
dgozman
2015/06/15 16:58:41
Just don't create it here. See WebInspector.Animat
| |
| 115 /** @type {!WebInspector.ResourceTreeModel} */ | 117 /** @type {!WebInspector.ResourceTreeModel} */ |
| 116 this.resourceTreeModel = new WebInspector.ResourceTreeModel(this); | 118 this.resourceTreeModel = new WebInspector.ResourceTreeModel(this); |
| 117 /** @type {!WebInspector.NetworkLog} */ | 119 /** @type {!WebInspector.NetworkLog} */ |
| 118 this.networkLog = new WebInspector.NetworkLog(this); | 120 this.networkLog = new WebInspector.NetworkLog(this); |
| 119 | 121 |
| 120 if (this.hasJSContext()) | 122 if (this.hasJSContext()) |
| 121 new WebInspector.DebuggerModel(this); | 123 new WebInspector.DebuggerModel(this); |
| 122 | 124 |
| 123 /** @type {!WebInspector.RuntimeModel} */ | 125 /** @type {!WebInspector.RuntimeModel} */ |
| 124 this.runtimeModel = new WebInspector.RuntimeModel(this); | 126 this.runtimeModel = new WebInspector.RuntimeModel(this); |
| (...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 605 /** | 607 /** |
| 606 * @param {!WebInspector.Target} target | 608 * @param {!WebInspector.Target} target |
| 607 */ | 609 */ |
| 608 targetRemoved: function(target) { }, | 610 targetRemoved: function(target) { }, |
| 609 } | 611 } |
| 610 | 612 |
| 611 /** | 613 /** |
| 612 * @type {!WebInspector.TargetManager} | 614 * @type {!WebInspector.TargetManager} |
| 613 */ | 615 */ |
| 614 WebInspector.targetManager = new WebInspector.TargetManager(); | 616 WebInspector.targetManager = new WebInspector.TargetManager(); |
| OLD | NEW |