| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 49 |
| 50 /** @type {!Set<string>} */ | 50 /** @type {!Set<string>} */ |
| 51 this._filePaths = new Set(); | 51 this._filePaths = new Set(); |
| 52 /** @type {!Set<string>} */ | 52 /** @type {!Set<string>} */ |
| 53 this._gitFolders = new Set(); | 53 this._gitFolders = new Set(); |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 WebInspector.IsolatedFileSystem.ImageExtensions = new Set(["jpeg", "jpg", "svg",
"gif", "webp", "png", "ico", "tiff", "tif", "bmp"]); | 56 WebInspector.IsolatedFileSystem.ImageExtensions = new Set(["jpeg", "jpg", "svg",
"gif", "webp", "png", "ico", "tiff", "tif", "bmp"]); |
| 57 | 57 |
| 58 /** | 58 /** |
| 59 * @constructor | |
| 60 * @param {!WebInspector.IsolatedFileSystemManager} manager | 59 * @param {!WebInspector.IsolatedFileSystemManager} manager |
| 61 * @param {string} path | 60 * @param {string} path |
| 62 * @param {string} embedderPath | 61 * @param {string} embedderPath |
| 63 * @param {string} name | 62 * @param {string} name |
| 64 * @param {string} rootURL | 63 * @param {string} rootURL |
| 65 * @return {!Promise<?WebInspector.IsolatedFileSystem>} | 64 * @return {!Promise<?WebInspector.IsolatedFileSystem>} |
| 66 */ | 65 */ |
| 67 WebInspector.IsolatedFileSystem.create = function(manager, path, embedderPath, n
ame, rootURL) | 66 WebInspector.IsolatedFileSystem.create = function(manager, path, embedderPath, n
ame, rootURL) |
| 68 { | 67 { |
| 69 var domFileSystem = InspectorFrontendHost.isolatedFileSystem(name, rootURL); | 68 var domFileSystem = InspectorFrontendHost.isolatedFileSystem(name, rootURL); |
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 673 /** | 672 /** |
| 674 * @param {!WebInspector.Progress} progress | 673 * @param {!WebInspector.Progress} progress |
| 675 */ | 674 */ |
| 676 indexContent: function(progress) | 675 indexContent: function(progress) |
| 677 { | 676 { |
| 678 progress.setTotalWork(1); | 677 progress.setTotalWork(1); |
| 679 var requestId = this._manager.registerProgress(progress); | 678 var requestId = this._manager.registerProgress(progress); |
| 680 InspectorFrontendHost.indexPath(requestId, this._embedderPath); | 679 InspectorFrontendHost.indexPath(requestId, this._embedderPath); |
| 681 } | 680 } |
| 682 }; | 681 }; |
| OLD | NEW |