gecko-dev/dom/plugins/base
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
..
moz.build Bug 1410096 - Make unified build work. r=smaug 2017-12-15 21:17:32 +01:00
npapi.h Bug 1449388 - Send NPNVaudioDeviceStateChanged to plugins when any Windows audio device changes state. r=jimm 2018-06-13 13:12:54 -07:00
npfunctions.h Bug 1431072 - Move a duplicate declarations (NS_NPAPIPLUGIN_CALLBACK) into a common file r=jimm 2018-01-17 14:32:56 +01:00
npruntime.h
nptypes.h
nsIHTTPHeaderListener.idl
nsIPluginDocument.idl
nsIPluginHost.idl Bug 1456324: Part 1 - Update tests to use nsIFakePluginTag rather than JS mocks. r=Gijs 2018-04-25 12:31:25 -07:00
nsIPluginInputStream.idl
nsIPluginInstanceOwner.idl
nsIPluginTag.idl Bug 1456324: Part 2 - Mark infallible nsIPluginTag getters as infallible. r=Gijs 2018-04-24 15:04:11 -07:00
nsJSNPRuntime.cpp Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke 2018-05-16 10:53:16 +02:00
nsJSNPRuntime.h
nsNPAPIPlugin.cpp Bug 1467452 - Back out f5f49315fec2 to restore getJavaEnv/getJavaPeer NPAPIs to fix Flash crash. r=jimm 2018-06-20 12:42:39 -07:00
nsNPAPIPlugin.h Bug 1467452 - Back out f5f49315fec2 to restore getJavaEnv/getJavaPeer NPAPIs to fix Flash crash. r=jimm 2018-06-20 12:42:39 -07:00
nsNPAPIPluginInstance.cpp Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
nsNPAPIPluginInstance.h Bug 1461243 - Part 1: Remove unused member variable mHaveJavaC2PJSObjectQuirk. r=jimm 2017-04-29 01:27:21 -07:00
nsNPAPIPluginStreamListener.cpp Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
nsNPAPIPluginStreamListener.h Bug 1352567 - Remove NPAPI seekable and file streams from the dom/plugins/base code, r=jimm 2017-10-02 14:54:22 -07:00
nsPluginDirServiceProvider.cpp
nsPluginDirServiceProvider.h
nsPluginHost.cpp Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj 2018-07-23 17:41:06 -07:00
nsPluginHost.h Bug 1456171 - make getPluginBlocklistState API asynchronous, r=kmag 2018-04-23 17:11:34 +01:00
nsPluginInstanceOwner.cpp Bug 1473705 - Make nsPluginInstanceOwner listen to keypress event also in the system event group r=smaug 2018-07-06 17:20:43 +09:00
nsPluginInstanceOwner.h Bug 1456294 - Hook ImmAssociateContextEx. r=masayuki 2018-05-17 14:47:55 +09:00
nsPluginLogging.h
nsPluginManifestLineReader.h Bug 1453795 - Dom/Plugins - Initialize member fields in classes/ structures. r=jmathies 2018-06-14 08:38:21 +03:00
nsPluginModule.cpp
nsPluginNativeWindow.cpp
nsPluginNativeWindow.h
nsPluginNativeWindowWin.cpp Bug 1445444: Properly initialize plugin window drawing type on Windows r=jimm 2018-06-25 13:16:44 -07:00
nsPluginStreamListenerPeer.cpp Bug 1476306 - Moving NullPrincipal/ContentPrincipal/SystemPrincipal under mozilla namespace - part 1 - NullPrincipal, r=ckerschb 2018-07-17 21:37:48 +02:00
nsPluginStreamListenerPeer.h Bug 1352567 - Remove NPAPI seekable and file streams from the dom/plugins/base code, r=jimm 2017-10-02 14:54:22 -07:00
nsPluginTags.cpp Bug 1475722 - Mac Flash sandbox causes empty file upload dialogs on OS X 10.9, 10.10 r=Alex_Gaynor 2018-07-17 17:30:44 -07:00
nsPluginTags.h Bug 1371888 - cache plugin information in pluginreg.dat to avoid sync startup load, r=florian,mossop 2018-02-20 16:53:48 +00:00
nsPluginsCID.h
nsPluginsDir.h
nsPluginsDirDarwin.cpp Bug 1453795 - Dom/Plugins - Initialize member fields in classes/ structures. r=jmathies 2018-06-14 08:38:21 +03:00
nsPluginsDirUnix.cpp Bug 1278282 - Remove the 'MOZ_WIDGET_GTK == 2' defines r=karlt,lsalzman 2018-01-10 08:52:04 +01:00
nsPluginsDirUtils.h
nsPluginsDirWin.cpp Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
nspluginroot.idl