gecko-dev/xpcom/io
Gijs Kruitbosch a6e0fa62ec Bug 1305339 - part 2: use URI flags to determine if data is from the web, r=mstange,bz
This actually accomplishes what was discussed in the bug and marks any file with the
relevant URI flags as WebDownload, and everything else as OtherDownload.

Note that I'm using DoGetProtocolFlags in order to deal with
nsIProtocolHandlerWithDynamicFlags correctly; while just getting protocol flags
from the IO service directly would be less work, it's technically less correct.

MozReview-Commit-ID: HgD1fV98IEc

--HG--
extra : rebase_source : f114532b48dbca5c83871e61c8d04c719e3b38d1
2016-10-03 13:52:19 +01:00
..
Base64.cpp Bug 1296286 - preventfalse positive resource leak trigger in Base64DecodeHelper. r=froydnj 2016-08-18 16:40:04 +03:00
Base64.h Bug 1275309 (part 1) - Add a variant of Base64Decode(). r=erahm. 2016-08-04 11:49:46 +10:00
CocoaFileUtils.h Bug 1305339 - part 2: use URI flags to determine if data is from the web, r=mstange,bz 2016-10-03 13:52:19 +01:00
CocoaFileUtils.mm Bug 1305339 - part 2: use URI flags to determine if data is from the web, r=mstange,bz 2016-10-03 13:52:19 +01:00
crc32c.c Bug 1098004 Implement snappy compression framing protocol as nsI(Input|Output)Streams. r=froydnj 2014-12-12 14:12:27 -05:00
crc32c.h Bug 1098004 Implement snappy compression framing protocol as nsI(Input|Output)Streams. r=froydnj 2014-12-12 14:12:27 -05:00
FileUtilsWin.cpp Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa 2016-01-15 11:38:03 +01:00
FileUtilsWin.h Bug 1100997 - Fixed FileUtilsWin.h compilation on mingw. r=cpearce 2014-11-20 10:52:26 +01:00
moz.build Bug 1288997 - memory blob should not be shared across processes - part 2 - SlicedInputStream, r=froydnj 2016-07-25 22:41:02 +02:00
nsAnonymousTemporaryFile.cpp Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. 2016-08-08 12:18:10 +10:00
nsAnonymousTemporaryFile.h Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
nsAppDirectoryServiceDefs.h Bug 1270018 - NS_APP_CONTENT_PROCESS_TEMP_DIR should only return the sandbox writeable temp. r=bobowen, r=bsmedberg 2016-07-05 14:48:25 -07:00
nsAppFileLocationProvider.cpp Bug 1295053 (part 3) - Don't use NS_METHOD for xpcom IO functions. r=froydnj. 2016-08-15 14:30:32 +10:00
nsAppFileLocationProvider.h Bug 1295053 (part 3) - Don't use NS_METHOD for xpcom IO functions. r=froydnj. 2016-08-15 14:30:32 +10:00
nsBinaryStream.cpp Bug 1294645 - Don't use NS_CALLBACK for callbacks in nsI{Input,Output,UnicharInput},Stream.idl. r=froydnj. 2016-08-12 17:36:22 +10:00
nsBinaryStream.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsDirectoryService.cpp Bug 1287623, part 2 - Use StaticRefPtr for nsDirectoryService::gService. r=froydnj 2016-07-21 09:54:16 -07:00
nsDirectoryService.h Bug 1287623, part 2 - Use StaticRefPtr for nsDirectoryService::gService. r=froydnj 2016-07-21 09:54:16 -07:00
nsDirectoryServiceAtomList.h Bug 1162327 Part 1: Change low integrity temp to a fixed dir per profile and improve clean-up. r=jimm, r=froydnj 2015-05-18 11:51:07 +01:00
nsDirectoryServiceDefs.h Bug 1162327 Part 1: Change low integrity temp to a fixed dir per profile and improve clean-up. r=jimm, r=froydnj 2015-05-18 11:51:07 +01:00
nsDirectoryServiceUtils.h Bug 1046841 - Fix more style violations in previously touched .h files in xpcom/. r=froydnj 2014-08-25 12:17:24 -07:00
nsEscape.cpp Bug 1287277 - Avoid repeated string reallocations in NS_UnescapeURL. r=nfroyd 2016-07-14 01:27:23 +02:00
nsEscape.h Bug 1249352 - Part 4: Add a fallible NS_EscapeURL. r=froydnj 2016-06-27 11:10:46 -07:00
nsIAsyncInputStream.idl
nsIAsyncOutputStream.idl Bug 1289811 - Give nsIOutputStreamCallback a [function] attribute. r=nfroyd 2016-07-28 14:18:00 -04:00
nsIBinaryInputStream.idl Bug 996310 - nsIBinaryOutputStream should return number of bytes read. r=bsmedberg 2014-05-22 13:56:56 -07:00
nsIBinaryOutputStream.idl
nsICloneableInputStream.idl Bug 1100398 P1 Add the nsICloneableInputStream interface. r=froydnj 2015-02-10 23:55:43 -05:00
nsIConverterInputStream.idl
nsIConverterOutputStream.idl
nsIDirectoryEnumerator.idl
nsIDirectoryService.idl
nsIFile.idl Bug 1296164 (part 3) - Use [must_use] on more nsIFile things. r=froydnj. 2016-08-18 16:43:28 +10:00
nsIInputStream.idl Bug 1294645 - Don't use NS_CALLBACK for callbacks in nsI{Input,Output,UnicharInput},Stream.idl. r=froydnj. 2016-08-12 17:36:22 +10:00
nsIInputStreamTee.idl
nsIIOUtil.idl
nsILineInputStream.idl
nsILocalFile.idl Bug 997325 - Implement main process scriptable only flag in XPIDL (r=mrbkap) 2015-03-26 14:39:48 -07:00
nsILocalFileMac.idl Bug 997325 - Implement main process scriptable only flag in XPIDL (r=mrbkap) 2015-03-26 14:39:48 -07:00
nsILocalFileWin.idl Bug 1279240 - move path parsing of commandline handlers for mimetypes/protocols to nsILocalFileWin, r=froydnj 2016-09-30 17:18:41 +01:00
nsIMultiplexInputStream.idl
nsInputStreamTee.cpp Bug 1294645 - Don't use NS_CALLBACK for callbacks in nsI{Input,Output,UnicharInput},Stream.idl. r=froydnj. 2016-08-12 17:36:22 +10:00
nsIObjectInputStream.idl
nsIObjectOutputStream.idl
nsIOUtil.cpp Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
nsIOUtil.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsIOutputStream.idl Bug 1294645 - Don't use NS_CALLBACK for callbacks in nsI{Input,Output,UnicharInput},Stream.idl. r=froydnj. 2016-08-12 17:36:22 +10:00
nsIPipe.idl Bug 1295825 (part 2) - Use [must_use] and MOZ_MUST_USE in nsIPipe.idl. r=froydnj. 2016-08-17 16:52:48 +10:00
nsISafeOutputStream.idl
nsIScriptableBase64Encoder.idl
nsIScriptableInputStream.idl
nsISeekableStream.idl
nsIStorageStream.idl
nsIStreamBufferAccess.idl
nsIStringStream.idl Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
nsIUnicharInputStream.idl Bug 1294645 - Don't use NS_CALLBACK for callbacks in nsI{Input,Output,UnicharInput},Stream.idl. r=froydnj. 2016-08-12 17:36:22 +10:00
nsIUnicharLineInputStream.idl
nsIUnicharOutputStream.idl
nsLinebreakConverter.cpp Bug 1270310 - Part 2: Pass buffer length to Assign call in ConvertStringLineBreaks. r=froydnj 2016-05-05 15:52:16 -07:00
nsLinebreakConverter.h Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
nsLocalFile.h Bug 1045289 - Rename nsXPComInit.cpp to XPCOMInit.cpp. r=froydnj 2014-09-26 07:20:23 +03:00
nsLocalFileCommon.cpp Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
nsLocalFileUnix.cpp Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
nsLocalFileUnix.h bug 1171124 - Swap some XP_MACOSX for XP_DARWIN in nsLocalFileUnix. r=froydnj 2015-02-04 10:49:45 -05:00
nsLocalFileWin.cpp Bug 1279240 - move path parsing of commandline handlers for mimetypes/protocols to nsILocalFileWin, r=froydnj 2016-09-30 17:18:41 +01:00
nsLocalFileWin.h Bug 1279240 - move path parsing of commandline handlers for mimetypes/protocols to nsILocalFileWin, r=froydnj 2016-09-30 17:18:41 +01:00
nsMultiplexInputStream.cpp Bug 1294450 - Make AutoIPCStream favour PSendStream for large input streams. r=nfroydj 2016-09-29 06:20:00 +02:00
nsMultiplexInputStream.h Bug 995730 - Fix style violations in xpcom/io/. r=froydnj 2014-05-14 23:15:46 +03:00
nsNativeCharsetUtils.cpp Bug 1278156 - Remove useless null check in xp_iconv(). r=froydnj. 2016-06-03 14:59:16 +10:00
nsNativeCharsetUtils.h Bug 995730 - Fix style violations in xpcom/io/. r=froydnj 2014-05-14 23:15:46 +03:00
nsPipe3.cpp Bug 1305025 - Don't return error from nsPipe::Status when there are data to read to prevent potentiall loop. r=jduell 2016-09-28 03:32:00 -04:00
nsPipe.h Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
nsScriptableBase64Encoder.cpp Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan 2015-08-04 16:17:36 -07:00
nsScriptableBase64Encoder.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsScriptableInputStream.cpp Bug 1258498: Use fallible allocation in nsScriptableInputStream::ReadBytes. r= froydnj 2016-03-21 13:49:18 -07:00
nsScriptableInputStream.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsSegmentedBuffer.cpp Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
nsSegmentedBuffer.h Bug 995730 - Fix style violations in xpcom/io/. r=froydnj 2014-05-14 23:15:46 +03:00
nsStorageStream.cpp Bug 1294450 - Make AutoIPCStream favour PSendStream for large input streams. r=nfroydj 2016-09-29 06:20:00 +02:00
nsStorageStream.h Bug 1295053 (part 3) - Don't use NS_METHOD for xpcom IO functions. r=froydnj. 2016-08-15 14:30:32 +10:00
nsStreamUtils.cpp Bug 1295053 (part 3) - Don't use NS_METHOD for xpcom IO functions. r=froydnj. 2016-08-15 14:30:32 +10:00
nsStreamUtils.h Bug 1295053 (part 3) - Don't use NS_METHOD for xpcom IO functions. r=froydnj. 2016-08-15 14:30:32 +10:00
nsStringStream.cpp Bug 1294450 - Make AutoIPCStream favour PSendStream for large input streams. r=nfroydj 2016-09-29 06:20:00 +02:00
nsStringStream.h Bug 1240436 - Part3: Remove NS_NewStringInputStream to prevent misuse. r=froydnj 2016-04-14 18:55:50 +08:00
nsUnicharInputStream.cpp Bug 1237668 - Remove nsSimpleUnicharStreamFactory r=froydnj 2016-01-11 19:31:29 -05:00
nsUnicharInputStream.h Bug 1238545 - Remove nsISimpleUnicharStreamFactory; r=froydnj 2016-01-13 17:04:25 -05:00
nsWildCard.cpp Bug 1220035 - Fix -Wimplicit-fallthrough warnings in xpcom. r=mccr8 2015-10-29 21:31:32 -07:00
nsWildCard.h Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
SlicedInputStream.cpp Bug 1288997 - memory blob should not be shared across processes - part 2 - SlicedInputStream, r=froydnj 2016-07-25 22:41:02 +02:00
SlicedInputStream.h Bug 1288997 - memory blob should not be shared across processes - part 2 - SlicedInputStream, r=froydnj 2016-07-25 22:41:02 +02:00
SnappyCompressOutputStream.cpp Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn 2015-02-02 09:56:13 +09:00
SnappyCompressOutputStream.h Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
SnappyFrameUtils.cpp Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj 2016-05-22 13:31:11 -07:00
SnappyFrameUtils.h Bug 1098004 Implement snappy compression framing protocol as nsI(Input|Output)Streams. r=froydnj 2014-12-12 14:12:27 -05:00
SnappyUncompressInputStream.cpp Bug 1163916 (part 2) - Avoid a static constructor for kCompressedBufferLength. r=froydnj. 2015-05-13 16:48:32 -07:00
SnappyUncompressInputStream.h Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
SpecialSystemDirectory.cpp Bug 1227569 - Remove unsupported OpenVMS code. r=mccr8 2015-12-18 15:02:50 +02:00
SpecialSystemDirectory.h Bug 1018988 - Set up a low integrity temp directory when using the Windows content sandbox. r=mrbkap r=tabraldes r=froydnj 2014-09-10 12:36:17 +01:00