gecko-dev/uriloader/exthandler
Kris Maglione 7aa3564a28 Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj
Much like the component manager, many of the strings that we use for category
manager entries are statically allocated. There's no need to duplicate these
strings.

This patch changes the category manager APIs to take nsACStrings rather than
raw pointers, and to pass literal nsCStrings when we know we have a literal
string to begin with. When adding the category entry, it then skips making
copies of any strings with the LITERAL flag.

MozReview-Commit-ID: EJEcYSdNMWs
***
amend-catman

--HG--
extra : source : aa9a8f18e98f930a3d8359565eef02f3f6efc5f9
extra : absorb_source : 81a22ab26ee8017ac43321ff2c987d8096182d37
2018-07-23 17:41:06 -07:00
..
android Bug 1448025 - make some Android-only uriloader constructors explicit; r=mystor 2018-03-27 10:51:31 -04:00
mac Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
tests Bug 1476035, r=jkt 2018-07-17 15:36:43 +01:00
uikit Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
unix Bug 1463809 - Don't lookup mimeinfo of application/octet-stream; r=Paolo 2018-07-19 15:46:26 +02:00
win Bug 1447080 - Remove SEE_MASK_FLAG_NO_UI for better Windows 10 compatibility. r=dparks 2018-03-26 08:55:21 -05:00
ContentHandlerService.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
ContentHandlerService.h
DBusHelpers.h Bug 1413044 - Move DBusHelper.h in uriloader/exthandler, r=smaug 2017-11-01 23:24:38 +01:00
ExternalHelperAppChild.cpp Bug 1437114 - ExternalHelperAppChild should send data to the parent actor in chunks, r=froydnj 2018-02-12 17:41:34 +01:00
ExternalHelperAppChild.h
ExternalHelperAppParent.cpp Bug 1453795 - docshell - Initialize member fields in classes/ structures. r=smaug 2018-06-18 10:23:57 +03:00
ExternalHelperAppParent.h Bug 1453795 - docshell - Initialize member fields in classes/ structures. r=smaug 2018-06-18 10:23:57 +03:00
HandlerService.js Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8 2018-04-22 20:55:06 -07:00
HandlerService.manifest Bug 474043 - Part 5 - Remove the json suffix from nsHandlerService. r=Paolo 2018-03-15 14:44:00 +01:00
HandlerServiceChild.h Bug 1389836 - Put HandlerServiceChild in the proper namespace. r=bz 2017-10-25 14:58:50 -07:00
HandlerServiceParent.cpp Bug 1453795 - docshell - Initialize member fields in classes/ structures. r=smaug 2018-06-18 10:23:57 +03:00
HandlerServiceParent.h Bug 1382323 - Remote OSProtocolHandlerExists. r=jld,smaug 2017-09-04 21:48:59 +02:00
PExternalHelperApp.ipdl
PHandlerService.ipdl Bug 1389836 - Push extensions from MIME info objects to the child. r=bz 2017-11-01 17:49:22 -07:00
moz.build Bug 474043 - Part 5 - Remove the json suffix from nsHandlerService. r=Paolo 2018-03-15 14:44:00 +01:00
nsCExternalHandlerService.idl
nsContentHandlerApp.h
nsDBusHandlerApp.cpp Bug 1412258 - Get rid of ipc/dbus, r=smaug 2017-10-27 18:41:40 +02:00
nsDBusHandlerApp.h
nsExternalHelperAppService.cpp Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj 2018-07-23 17:41:06 -07:00
nsExternalHelperAppService.h Bug 1453795 - docshell - Initialize member fields in classes/ structures. r=smaug 2018-06-18 10:23:57 +03:00
nsExternalProtocolHandler.cpp Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
nsExternalProtocolHandler.h
nsIContentDispatchChooser.idl
nsIExternalHelperAppService.idl
nsIExternalProtocolService.idl
nsIExternalSharingAppService.idl
nsIExternalURLHandlerService.idl
nsIHandlerService.idl Bug 1382323 - Remote OSProtocolHandlerExists. r=jld,smaug 2017-09-04 21:48:59 +02:00
nsIHelperAppLauncherDialog.idl
nsLocalHandlerApp.cpp
nsLocalHandlerApp.h
nsMIMEInfoImpl.cpp Bug 1437604 - remove NS_INTERFACE_MAP_END_THREADSAFE; r=mystor 2018-02-12 14:36:46 -05:00
nsMIMEInfoImpl.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
nsWebHandlerApp.js Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8 2018-04-22 20:55:06 -07:00
nsWebHandlerApp.manifest