| 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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 var requestId = /** @type {number} */ (event.data["requestId"]); | 349 var requestId = /** @type {number} */ (event.data["requestId"]); |
| 350 var files = /** @type {!Array.<string>} */ (event.data["files"]); | 350 var files = /** @type {!Array.<string>} */ (event.data["files"]); |
| 351 | 351 |
| 352 var callback = this._callbacks.get(requestId); | 352 var callback = this._callbacks.get(requestId); |
| 353 if (!callback) | 353 if (!callback) |
| 354 return; | 354 return; |
| 355 callback.call(null, files); | 355 callback.call(null, files); |
| 356 this._callbacks.delete(requestId); | 356 this._callbacks.delete(requestId); |
| 357 }, | 357 }, |
| 358 | 358 |
| 359 dispose: function() | |
| 360 { | |
| 361 InspectorFrontendHost.events.removeEventListener(InspectorFrontendHostAP
I.Events.IndexingTotalWorkCalculated, this._onIndexingTotalWorkCalculated, this)
; | |
| 362 InspectorFrontendHost.events.removeEventListener(InspectorFrontendHostAP
I.Events.IndexingWorked, this._onIndexingWorked, this); | |
| 363 InspectorFrontendHost.events.removeEventListener(InspectorFrontendHostAP
I.Events.IndexingDone, this._onIndexingDone, this); | |
| 364 InspectorFrontendHost.events.removeEventListener(InspectorFrontendHostAP
I.Events.SearchCompleted, this._onSearchCompleted, this); | |
| 365 }, | |
| 366 | |
| 367 __proto__: WebInspector.Object.prototype | 359 __proto__: WebInspector.Object.prototype |
| 368 } | 360 } |
| 369 | 361 |
| 370 /** | 362 /** |
| 371 * @type {!WebInspector.IsolatedFileSystemManager} | 363 * @type {!WebInspector.IsolatedFileSystemManager} |
| 372 */ | 364 */ |
| 373 WebInspector.isolatedFileSystemManager; | 365 WebInspector.isolatedFileSystemManager; |
| OLD | NEW |