| 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 }, | 202 }, |
| 203 | 203 |
| 204 _dispose: function() | 204 _dispose: function() |
| 205 { | 205 { |
| 206 this._weakReference.clear(); | 206 this._weakReference.clear(); |
| 207 this.debuggerModel.dispose(); | 207 this.debuggerModel.dispose(); |
| 208 this.networkManager.dispose(); | 208 this.networkManager.dispose(); |
| 209 this.cpuProfilerModel.dispose(); | 209 this.cpuProfilerModel.dispose(); |
| 210 }, | 210 }, |
| 211 | 211 |
| 212 /** |
| 213 * @return {boolean} |
| 214 */ |
| 215 isDetached: function() |
| 216 { |
| 217 return this._connection.isClosed(); |
| 218 }, |
| 219 |
| 212 __proto__: Protocol.Agents.prototype | 220 __proto__: Protocol.Agents.prototype |
| 213 } | 221 } |
| 214 | 222 |
| 215 /** | 223 /** |
| 216 * @constructor | 224 * @constructor |
| 217 * @extends {WebInspector.Object} | 225 * @extends {WebInspector.Object} |
| 218 * @param {!WebInspector.Target} target | 226 * @param {!WebInspector.Target} target |
| 219 */ | 227 */ |
| 220 WebInspector.SDKObject = function(target) | 228 WebInspector.SDKObject = function(target) |
| 221 { | 229 { |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 /** | 424 /** |
| 417 * @param {!WebInspector.Target} target | 425 * @param {!WebInspector.Target} target |
| 418 */ | 426 */ |
| 419 targetRemoved: function(target) { }, | 427 targetRemoved: function(target) { }, |
| 420 } | 428 } |
| 421 | 429 |
| 422 /** | 430 /** |
| 423 * @type {!WebInspector.TargetManager} | 431 * @type {!WebInspector.TargetManager} |
| 424 */ | 432 */ |
| 425 WebInspector.targetManager = new WebInspector.TargetManager(); | 433 WebInspector.targetManager = new WebInspector.TargetManager(); |
| OLD | NEW |