| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 * @override | 208 * @override |
| 209 * @param {string} fileSystemPath | 209 * @param {string} fileSystemPath |
| 210 */ | 210 */ |
| 211 removeFileSystem(fileSystemPath) { | 211 removeFileSystem(fileSystemPath) { |
| 212 } | 212 } |
| 213 | 213 |
| 214 /** | 214 /** |
| 215 * @override | 215 * @override |
| 216 * @param {string} fileSystemId | 216 * @param {string} fileSystemId |
| 217 * @param {string} registeredName | 217 * @param {string} registeredName |
| 218 * @return {?DOMFileSystem} | 218 * @return {?FileSystem} |
| 219 */ | 219 */ |
| 220 isolatedFileSystem(fileSystemId, registeredName) { | 220 isolatedFileSystem(fileSystemId, registeredName) { |
| 221 return null; | 221 return null; |
| 222 } | 222 } |
| 223 | 223 |
| 224 /** | 224 /** |
| 225 * @override | 225 * @override |
| 226 * @param {string} url | 226 * @param {string} url |
| 227 * @param {string} headers | 227 * @param {string} headers |
| 228 * @param {number} streamId | 228 * @param {number} streamId |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 * @return {boolean} | 528 * @return {boolean} |
| 529 */ | 529 */ |
| 530 Host.isUnderTest = function(prefs) { | 530 Host.isUnderTest = function(prefs) { |
| 531 if (InspectorFrontendHost.isUnderTest()) | 531 if (InspectorFrontendHost.isUnderTest()) |
| 532 return true; | 532 return true; |
| 533 | 533 |
| 534 if (prefs) | 534 if (prefs) |
| 535 return prefs['isUnderTest'] === 'true'; | 535 return prefs['isUnderTest'] === 'true'; |
| 536 return Common.settings.createSetting('isUnderTest', false).get(); | 536 return Common.settings.createSetting('isUnderTest', false).get(); |
| 537 }; | 537 }; |
| OLD | NEW |