| Index: third_party/WebKit/Source/devtools/front_end/workspace/IsolatedFileSystemManager.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/workspace/IsolatedFileSystemManager.js b/third_party/WebKit/Source/devtools/front_end/workspace/IsolatedFileSystemManager.js
|
| index 6066615b44ec6b5a88d655330a4ac1fa4766c118..7b2baa3a224719992836b76111733e0f7e6c5f7b 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/workspace/IsolatedFileSystemManager.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/workspace/IsolatedFileSystemManager.js
|
| @@ -36,8 +36,6 @@ WebInspector.IsolatedFileSystemManager = function()
|
| {
|
| /** @type {!Object.<string, !WebInspector.IsolatedFileSystem>} */
|
| this._fileSystems = {};
|
| - /** @type {!Object.<string, !Array.<function(?DOMFileSystem)>>} */
|
| - this._pendingFileSystemRequests = {};
|
| this._excludedFolderManager = new WebInspector.ExcludedFolderManager();
|
|
|
| InspectorFrontendHost.events.addEventListener(InspectorFrontendHostAPI.Events.FileSystemsLoaded, this._onFileSystemsLoaded, this);
|
| @@ -101,7 +99,6 @@ WebInspector.IsolatedFileSystemManager.prototype = {
|
|
|
| this._initializeCallback();
|
| delete this._initializeCallback;
|
| - this._processPendingFileSystemRequests();
|
| },
|
|
|
| /**
|
| @@ -115,16 +112,6 @@ WebInspector.IsolatedFileSystemManager.prototype = {
|
| this.dispatchEventToListeners(WebInspector.IsolatedFileSystemManager.Events.FileSystemAdded, isolatedFileSystem);
|
| },
|
|
|
| - _processPendingFileSystemRequests: function()
|
| - {
|
| - for (var fileSystemPath in this._pendingFileSystemRequests) {
|
| - var callbacks = this._pendingFileSystemRequests[fileSystemPath];
|
| - for (var i = 0; i < callbacks.length; ++i)
|
| - callbacks[i](this._isolatedFileSystem(fileSystemPath));
|
| - }
|
| - delete this._pendingFileSystemRequests;
|
| - },
|
| -
|
| /**
|
| * @param {!WebInspector.Event} event
|
| */
|
| @@ -159,35 +146,6 @@ WebInspector.IsolatedFileSystemManager.prototype = {
|
| },
|
|
|
| /**
|
| - * @param {string} fileSystemPath
|
| - * @return {?DOMFileSystem}
|
| - */
|
| - _isolatedFileSystem: function(fileSystemPath)
|
| - {
|
| - var fileSystem = this._fileSystems[fileSystemPath];
|
| - if (!fileSystem)
|
| - return null;
|
| - if (!InspectorFrontendHost.isolatedFileSystem)
|
| - return null;
|
| - return InspectorFrontendHost.isolatedFileSystem(fileSystem.name(), fileSystem.rootURL());
|
| - },
|
| -
|
| - /**
|
| - * @param {string} fileSystemPath
|
| - * @param {function(?DOMFileSystem)} callback
|
| - */
|
| - requestDOMFileSystem: function(fileSystemPath, callback)
|
| - {
|
| - if (!this._loaded) {
|
| - if (!this._pendingFileSystemRequests[fileSystemPath])
|
| - this._pendingFileSystemRequests[fileSystemPath] = this._pendingFileSystemRequests[fileSystemPath] || [];
|
| - this._pendingFileSystemRequests[fileSystemPath].push(callback);
|
| - return;
|
| - }
|
| - callback(this._isolatedFileSystem(fileSystemPath));
|
| - },
|
| -
|
| - /**
|
| * @return {!Array<string>}
|
| */
|
| fileSystemPaths: function()
|
|
|