fune/dom/plugins/ipc
Kris Maglione 8e4b8a954f Bug 1472523: Part 1 - Avoid string copies in preference callbacks. r=njn
Most preference callbacks use literal strings for their domain filters, which
means that there's no need to make copies of them at all. Currently, however,
every preference observer node makes a separate heap-allocated copy of its
domain string.

This patch switches the domain string storage to nsCString instances, which
dramatically reduces the amount of unnecessary copies, at the expense of
making the callback nodes slightly larger.

MozReview-Commit-ID: 8NA3t2JS2UI

--HG--
extra : rebase_source : 628ad9af65cec16fb8be0c8dddc608b5ee5602e2
2018-06-30 23:06:17 -07:00
..
hangui
interpose
AStream.h
BrowserStreamChild.cpp
BrowserStreamChild.h
BrowserStreamParent.cpp
BrowserStreamParent.h
ChildTimer.cpp
ChildTimer.h
D3D11SurfaceHolder.cpp
D3D11SurfaceHolder.h
FunctionBroker.cpp Bug 1462979 - Broker HttpEndRequestA for plugin process. r=jimm 2018-05-29 12:27:23 -07:00
FunctionBroker.h Bug 1366256 - Part 2: Refactor EndpointHandler to make special type handling opt-in. r=jimm 2018-03-13 16:38:15 -07:00
FunctionBrokerChild.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
FunctionBrokerChild.h
FunctionBrokerIPCUtils.cpp
FunctionBrokerIPCUtils.h Bug 1462979 - Broker HttpEndRequestA for plugin process. r=jimm 2018-05-29 12:27:23 -07:00
FunctionBrokerParent.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
FunctionBrokerParent.h
FunctionBrokerThread.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
FunctionHook.cpp Bug 1460022: Part 7 - Update plugin code to work with revised DLL interceptor interface; r=handyman 2018-06-27 11:50:50 -06:00
FunctionHook.h Bug 1460022: Part 7 - Update plugin code to work with revised DLL interceptor interface; r=handyman 2018-06-27 11:50:50 -06:00
IpdlTuple.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
MiniShmParent.cpp
MiniShmParent.h
moz.build
NPEventAndroid.h
NPEventOSX.h Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
NPEventUnix.h
NPEventWindows.h
PBrowserStream.ipdl
PFunctionBroker.ipdl
PluginBackgroundDestroyer.cpp
PluginBackgroundDestroyer.h
PluginBridge.h
PluginHangUIParent.cpp
PluginHangUIParent.h
PluginInstanceChild.cpp Bug 1460022: Part 7 - Update plugin code to work with revised DLL interceptor interface; r=handyman 2018-06-27 11:50:50 -06:00
PluginInstanceChild.h Bug 1449388 - Send NPNVaudioDeviceStateChanged to plugins when any Windows audio device changes state. r=jimm 2018-06-13 13:12:54 -07:00
PluginInstanceParent.cpp Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
PluginInstanceParent.h Bug 1456294 - Hook ImmAssociateContextEx. r=masayuki 2018-05-17 14:47:55 +09:00
PluginInterposeOSX.h
PluginInterposeOSX.mm Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
PluginLibrary.h
PluginMessageUtils.cpp
PluginMessageUtils.h Bug 1449388 - Send NPNVaudioDeviceStateChanged to plugins when any Windows audio device changes state. r=jimm 2018-06-13 13:12:54 -07:00
PluginModuleChild.cpp Bug 1449388 - Send NPNVaudioDeviceStateChanged to plugins when any Windows audio device changes state. r=jimm 2018-06-13 13:12:54 -07:00
PluginModuleChild.h Bug 1449388 - Send NPNVaudioDeviceStateChanged to plugins when any Windows audio device changes state. r=jimm 2018-06-13 13:12:54 -07:00
PluginModuleParent.cpp Bug 1472523: Part 1 - Avoid string copies in preference callbacks. r=njn 2018-06-30 23:06:17 -07:00
PluginModuleParent.h Bug 1469603 - Use a recursive lock in crash reporter callbacks that might be called synchronously; r=erahm 2018-06-21 09:56:26 +02:00
PluginProcessChild.cpp Bug 1443892 - Add -MOZ_LOG and -MOZ_LOG_FILE command line arguments. r=erahm, r=nfroyd 2018-04-03 11:32:00 -04:00
PluginProcessChild.h
PluginProcessParent.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
PluginProcessParent.h
PluginQuirks.cpp Bug 1366256 - Part 3: Broker camera CreateMutexW calls from plugin process. r=jimm 2018-03-07 16:00:53 -08:00
PluginQuirks.h Bug 1366256 - Part 3: Broker camera CreateMutexW calls from plugin process. r=jimm 2018-03-07 16:00:53 -08:00
PluginScriptableObjectChild.cpp
PluginScriptableObjectChild.h
PluginScriptableObjectParent.cpp Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
PluginScriptableObjectParent.h
PluginScriptableObjectUtils-inl.h Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
PluginScriptableObjectUtils.h Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
PluginSurfaceParent.cpp
PluginSurfaceParent.h
PluginTypes.ipdlh
PluginUtilsOSX.h
PluginUtilsOSX.mm
PluginUtilsWin.cpp Bug 1449388 - Send NPNVaudioDeviceStateChanged to plugins when any Windows audio device changes state. r=jimm 2018-06-13 13:12:54 -07:00
PluginUtilsWin.h
PluginWidgetChild.cpp
PluginWidgetChild.h
PluginWidgetParent.cpp
PluginWidgetParent.h
PPluginBackgroundDestroyer.ipdl
PPluginInstance.ipdl Bug 1456294 - Hook ImmAssociateContextEx. r=masayuki 2018-05-17 14:47:55 +09:00
PPluginModule.ipdl Bug 1449388 - Send NPNVaudioDeviceStateChanged to plugins when any Windows audio device changes state. r=jimm 2018-06-13 13:12:54 -07:00
PPluginScriptableObject.ipdl
PPluginSurface.ipdl
PStreamNotify.ipdl
StreamNotifyChild.h
StreamNotifyParent.h