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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 205 }, | 205 }, |
| 206 | 206 |
| 207 _dispose: function() | 207 _dispose: function() |
| 208 { | 208 { |
| 209 this._weakReference.clear(); | 209 this._weakReference.clear(); |
| 210 this.debuggerModel.dispose(); | 210 this.debuggerModel.dispose(); |
| 211 this.networkManager.dispose(); | 211 this.networkManager.dispose(); |
| 212 this.cpuProfilerModel.dispose(); | 212 this.cpuProfilerModel.dispose(); |
| 213 }, | 213 }, |
| 214 | 214 |
| 215 /** | |
| 216 * @return {boolean} | |
| 217 */ | |
| 218 isDead: function() | |
|
apavlov
2014/07/20 09:50:36
I'd advise against using terms having strongly neg
sergeyv
2014/07/21 12:06:54
Done.
| |
| 219 { | |
| 220 return this._connection.isClosed(); | |
| 221 }, | |
| 222 | |
| 215 __proto__: Protocol.Agents.prototype | 223 __proto__: Protocol.Agents.prototype |
| 216 } | 224 } |
| 217 | 225 |
| 218 /** | 226 /** |
| 219 * @constructor | 227 * @constructor |
| 220 * @extends {WebInspector.Object} | 228 * @extends {WebInspector.Object} |
| 221 * @param {!WebInspector.Target} target | 229 * @param {!WebInspector.Target} target |
| 222 */ | 230 */ |
| 223 WebInspector.SDKObject = function(target) | 231 WebInspector.SDKObject = function(target) |
| 224 { | 232 { |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 419 /** | 427 /** |
| 420 * @param {!WebInspector.Target} target | 428 * @param {!WebInspector.Target} target |
| 421 */ | 429 */ |
| 422 targetRemoved: function(target) { }, | 430 targetRemoved: function(target) { }, |
| 423 } | 431 } |
| 424 | 432 |
| 425 /** | 433 /** |
| 426 * @type {!WebInspector.TargetManager} | 434 * @type {!WebInspector.TargetManager} |
| 427 */ | 435 */ |
| 428 WebInspector.targetManager = new WebInspector.TargetManager(); | 436 WebInspector.targetManager = new WebInspector.TargetManager(); |
| OLD | NEW |