mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
c04f0a7345
In this change we: - stop treating the nsPluginDirServiceProvider as a directory provider, as its GetFile implementation was a no-op anyway - registering it didn't make any difference. - stop treating it as a class entirely, because the PLID getters were already static, so instantiating it also didn't do anything. - move IO from the plugin directory list provider and the Windows-only PLID getters into nsPluginHost. This enables us to move it off of the main thread later - the directory getting has to happen on the main thread, but we can postpone further checks on the nsIFile instances. - in the process, stop doing exists() calls on files because we can fail more lazily. This allows us to remove more allowlist entries from browser_startup_mainthreadio, though the `isDirectory` calls will actually still cause IO - they don't seem to create IO markers in the profiler. We will move this IO away from the main thread in subsequent commits. Depends on D48328 Differential Revision: https://phabricator.services.mozilla.com/D48329 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
Base64.cpp | ||
Base64.h | ||
CocoaFileUtils.h | ||
CocoaFileUtils.mm | ||
components.conf | ||
crc32c.c | ||
crc32c.h | ||
FileDescriptorFile.cpp | ||
FileDescriptorFile.h | ||
FilePreferences.cpp | ||
FilePreferences.h | ||
FileUtilsWin.cpp | ||
FileUtilsWin.h | ||
InputStreamLengthHelper.cpp | ||
InputStreamLengthHelper.h | ||
InputStreamLengthWrapper.cpp | ||
InputStreamLengthWrapper.h | ||
moz.build | ||
NonBlockingAsyncInputStream.cpp | ||
NonBlockingAsyncInputStream.h | ||
nsAnonymousTemporaryFile.cpp | ||
nsAnonymousTemporaryFile.h | ||
nsAppDirectoryServiceDefs.h | ||
nsAppFileLocationProvider.cpp | ||
nsAppFileLocationProvider.h | ||
nsBinaryStream.cpp | ||
nsBinaryStream.h | ||
nsDirectoryService.cpp | ||
nsDirectoryService.h | ||
nsDirectoryServiceDefs.h | ||
nsDirectoryServiceUtils.h | ||
nsEscape.cpp | ||
nsEscape.h | ||
nsIAsyncInputStream.idl | ||
nsIAsyncOutputStream.idl | ||
nsIBinaryInputStream.idl | ||
nsIBinaryOutputStream.idl | ||
nsICloneableInputStream.idl | ||
nsIConverterInputStream.idl | ||
nsIConverterOutputStream.idl | ||
nsIDirectoryEnumerator.idl | ||
nsIDirectoryService.idl | ||
nsIFile.idl | ||
nsIInputStream.idl | ||
nsIInputStreamLength.idl | ||
nsIInputStreamTee.idl | ||
nsIIOUtil.idl | ||
nsILineInputStream.idl | ||
nsILocalFileMac.idl | ||
nsILocalFileWin.idl | ||
nsIMultiplexInputStream.idl | ||
nsInputStreamTee.cpp | ||
nsIObjectInputStream.idl | ||
nsIObjectOutputStream.idl | ||
nsIOUtil.cpp | ||
nsIOUtil.h | ||
nsIOutputStream.idl | ||
nsIPipe.idl | ||
nsISafeOutputStream.idl | ||
nsIScriptableBase64Encoder.idl | ||
nsIScriptableInputStream.idl | ||
nsISeekableStream.idl | ||
nsIStorageStream.idl | ||
nsIStreamBufferAccess.idl | ||
nsIStringStream.idl | ||
nsITellableStream.idl | ||
nsIUnicharInputStream.idl | ||
nsIUnicharLineInputStream.idl | ||
nsIUnicharOutputStream.idl | ||
nsLinebreakConverter.cpp | ||
nsLinebreakConverter.h | ||
nsLocalFile.h | ||
nsLocalFileCommon.cpp | ||
nsLocalFileCommon.h | ||
nsLocalFileUnix.cpp | ||
nsLocalFileUnix.h | ||
nsLocalFileWin.cpp | ||
nsLocalFileWin.h | ||
nsMultiplexInputStream.cpp | ||
nsMultiplexInputStream.h | ||
nsNativeCharsetUtils.cpp | ||
nsNativeCharsetUtils.h | ||
nsPipe3.cpp | ||
nsPipe.h | ||
nsScriptableBase64Encoder.cpp | ||
nsScriptableBase64Encoder.h | ||
nsScriptableInputStream.cpp | ||
nsScriptableInputStream.h | ||
nsSegmentedBuffer.cpp | ||
nsSegmentedBuffer.h | ||
nsStorageStream.cpp | ||
nsStorageStream.h | ||
nsStreamUtils.cpp | ||
nsStreamUtils.h | ||
nsStringStream.cpp | ||
nsStringStream.h | ||
nsUnicharInputStream.cpp | ||
nsUnicharInputStream.h | ||
nsWildCard.cpp | ||
nsWildCard.h | ||
SlicedInputStream.cpp | ||
SlicedInputStream.h | ||
SnappyCompressOutputStream.cpp | ||
SnappyCompressOutputStream.h | ||
SnappyFrameUtils.cpp | ||
SnappyFrameUtils.h | ||
SnappyUncompressInputStream.cpp | ||
SnappyUncompressInputStream.h | ||
SpecialSystemDirectory.cpp | ||
SpecialSystemDirectory.h |