| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 128 |
| 129 /** | 129 /** |
| 130 * @param {!WebInspector.Event} event | 130 * @param {!WebInspector.Event} event |
| 131 */ | 131 */ |
| 132 _onFileSystemAdded: function(event) | 132 _onFileSystemAdded: function(event) |
| 133 { | 133 { |
| 134 var errorMessage = /** @type {string} */ (event.data["errorMessage"]); | 134 var errorMessage = /** @type {string} */ (event.data["errorMessage"]); |
| 135 var fileSystem = /** @type {!WebInspector.IsolatedFileSystemManager.File
System} */ (event.data["fileSystem"]); | 135 var fileSystem = /** @type {!WebInspector.IsolatedFileSystemManager.File
System} */ (event.data["fileSystem"]); |
| 136 var fileSystemPath; | 136 var fileSystemPath; |
| 137 if (errorMessage) { | 137 if (errorMessage) { |
| 138 WebInspector.console.addErrorMessage(errorMessage, true); | 138 WebInspector.console.error(errorMessage, true); |
| 139 } else { | 139 } else { |
| 140 this._innerAddFileSystem(fileSystem); | 140 this._innerAddFileSystem(fileSystem); |
| 141 fileSystemPath = fileSystem.fileSystemPath; | 141 fileSystemPath = fileSystem.fileSystemPath; |
| 142 } | 142 } |
| 143 }, | 143 }, |
| 144 | 144 |
| 145 /** | 145 /** |
| 146 * @param {!WebInspector.Event} event | 146 * @param {!WebInspector.Event} event |
| 147 */ | 147 */ |
| 148 _onFileSystemRemoved: function(event) | 148 _onFileSystemRemoved: function(event) |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 callback(this._isolatedFileSystem(fileSystemPath)); | 191 callback(this._isolatedFileSystem(fileSystemPath)); |
| 192 }, | 192 }, |
| 193 | 193 |
| 194 __proto__: WebInspector.Object.prototype | 194 __proto__: WebInspector.Object.prototype |
| 195 } | 195 } |
| 196 | 196 |
| 197 /** | 197 /** |
| 198 * @type {!WebInspector.IsolatedFileSystemManager} | 198 * @type {!WebInspector.IsolatedFileSystemManager} |
| 199 */ | 199 */ |
| 200 WebInspector.isolatedFileSystemManager; | 200 WebInspector.isolatedFileSystemManager; |
| OLD | NEW |