OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 16 matching lines...) Expand all Loading... |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 /** | 31 /** |
32 * @constructor | 32 * @constructor |
33 * @extends {WebInspector.Object} | 33 * @extends {WebInspector.Object} |
34 */ | 34 */ |
35 WebInspector.IsolatedFileSystemManager = function() | 35 WebInspector.IsolatedFileSystemManager = function() |
36 { | 36 { |
| 37 WebInspector.Object.call(this); |
| 38 |
37 /** @type {!Map<string, !WebInspector.IsolatedFileSystem>} */ | 39 /** @type {!Map<string, !WebInspector.IsolatedFileSystem>} */ |
38 this._fileSystems = new Map(); | 40 this._fileSystems = new Map(); |
39 /** @type {!Map<number, function(!Array.<string>)>} */ | 41 /** @type {!Map<number, function(!Array.<string>)>} */ |
40 this._callbacks = new Map(); | 42 this._callbacks = new Map(); |
41 /** @type {!Map<number, !WebInspector.Progress>} */ | 43 /** @type {!Map<number, !WebInspector.Progress>} */ |
42 this._progresses = new Map(); | 44 this._progresses = new Map(); |
43 | 45 |
44 InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Event
s.FileSystemRemoved, this._onFileSystemRemoved, this); | 46 InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Event
s.FileSystemRemoved, this._onFileSystemRemoved, this); |
45 InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Event
s.FileSystemAdded, this._onFileSystemAdded, this); | 47 InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Event
s.FileSystemAdded, this._onFileSystemAdded, this); |
46 InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Event
s.FileSystemFilesChanged, this._onFileSystemFilesChanged, this); | 48 InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Event
s.FileSystemFilesChanged, this._onFileSystemFilesChanged, this); |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 this._callbacks.delete(requestId); | 355 this._callbacks.delete(requestId); |
354 }, | 356 }, |
355 | 357 |
356 __proto__: WebInspector.Object.prototype | 358 __proto__: WebInspector.Object.prototype |
357 } | 359 } |
358 | 360 |
359 /** | 361 /** |
360 * @type {!WebInspector.IsolatedFileSystemManager} | 362 * @type {!WebInspector.IsolatedFileSystemManager} |
361 */ | 363 */ |
362 WebInspector.isolatedFileSystemManager; | 364 WebInspector.isolatedFileSystemManager; |
OLD | NEW |