gecko-dev/ipc/glue
Simon Giesecke 4cab6ac723 Bug 1677466 - Move ParamTraits specializations with extra dependencies out of IPCMessageUtils.h. r=mccr8
This moves parts of IPCMessageUtils.h to two new header files and adapts
the include directives as necessary. The new header files are:
- EnumSerializer.h, which defines the templates for enum serializers
- IPCMessageUtilsSpecializations.h, which defines template specializations
  of ParamTraits with extra dependencies (building upon both IPCMessageUtils.h
  and EnumSerializer.h)

This should minimize the dependencies pulled in by every consumer of
IPCMessageUtils.h

Differential Revision: https://phabricator.services.mozilla.com/D94459
2020-12-10 11:09:21 +00:00
..
BackgroundChild.h Bug 1603420 - PBackground for the Parent-Socket process bridge r=baku,jld 2020-03-03 16:14:19 +00:00
BackgroundChildImpl.cpp Bug 1645528 - Connect nsRefreshDrivers in content processes with a widget-local vsync source r=mattwoodrow,emilio 2020-12-02 09:47:53 +00:00
BackgroundChildImpl.h Bug 1669437 - Add necessary infrastructure for independent in-memory only local storage database; r=asuth,dom-workers-and-storage-reviewers 2020-11-11 13:12:57 +00:00
BackgroundImpl.cpp Bug 1119956 derive from DiscardableRunnable instead of CancelableRunnable when Cancel() is not supported r=asuth,sg 2020-12-03 09:04:44 +00:00
BackgroundParent.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
BackgroundParentImpl.cpp Bug 1656768 - Propagate SessionStorage data in BackgroundSessionStorageManager to the new top browsing context while replacing the top context id; r=nika,dom-workers-and-storage-reviewers,asuth 2020-12-03 14:19:35 +00:00
BackgroundParentImpl.h Bug 1656768 - Propagate SessionStorage data in BackgroundSessionStorageManager to the new top browsing context while replacing the top context id; r=nika,dom-workers-and-storage-reviewers,asuth 2020-12-03 14:19:35 +00:00
BackgroundUtils.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
BackgroundUtils.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
BrowserProcessSubThread.cpp Bug 1679838 - Rename "Gecko_IOThread" to "IPC I/O Parent" and "Chrome_ChildThread" to "IPC I/O Child". r=jld 2020-12-03 00:06:02 +00:00
BrowserProcessSubThread.h Bug 1656101 - Delete some IPC dead code (BrowserProcessSubThread types and an unused header). r=mccr8 2020-07-29 23:31:38 +00:00
ByteBuf.h Bug 1592822 - Replace StyleVecU8 with ipc::ByteBuf. r=emilio 2020-01-22 20:18:40 +00:00
ByteBufUtils.h Bug 1592822 - Replace StyleVecU8 with ipc::ByteBuf. r=emilio 2020-01-22 20:18:40 +00:00
CrashReporterClient.cpp Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-04-08 06:55:40 +00:00
CrashReporterClient.h Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-04-08 06:55:40 +00:00
CrashReporterHelper.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
CrashReporterHost.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
CrashReporterHost.h Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-04-08 06:55:40 +00:00
CrossProcessMutex.h Bug 1618165 - Provide BaseAutoLock and BaseAutoUnlock deduction guides for Mutex references. r=froydnj 2020-02-28 07:59:30 +00:00
CrossProcessMutex_posix.cpp Bug 1533918 - Disallow CrossProcessMutex when sandboxing is enabled. r=botond 2019-10-30 17:59:15 +00:00
CrossProcessMutex_unimplemented.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
CrossProcessMutex_windows.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
CrossProcessSemaphore.h Bug 1477756 - Fix all webgl regression tests according to CI. r=handyman 2020-01-08 22:19:23 +00:00
CrossProcessSemaphore_posix.cpp Bug 1523969 part 12 - Move method definition inline comments to new line in 'ipc/'. r=froydnj 2019-02-25 16:08:36 -06:00
CrossProcessSemaphore_unimplemented.cpp Bug 1523969 part 12 - Move method definition inline comments to new line in 'ipc/'. r=froydnj 2019-02-25 16:08:36 -06:00
CrossProcessSemaphore_windows.cpp Bug 1523969 part 12 - Move method definition inline comments to new line in 'ipc/'. r=froydnj 2019-02-25 16:08:36 -06:00
Endpoint.h Bug 1677466 - Split Endpoint.h and ProtocolMessageUtils.h from ProtocolUtils.h. r=mccr8 2020-11-23 16:06:42 +00:00
EnumSerializer.h Bug 1677466 - Move ParamTraits specializations with extra dependencies out of IPCMessageUtils.h. r=mccr8 2020-12-10 11:09:21 +00:00
EnvironmentMap.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
FileDescriptor.cpp Bug 1677466 - Split Endpoint.h and ProtocolMessageUtils.h from ProtocolUtils.h. r=mccr8 2020-11-23 16:06:42 +00:00
FileDescriptor.h Bug 1660470 - Move IPDLParamTraits for FileDescriptor out of FileDescriptor.h. r=nika 2020-11-23 16:04:55 +00:00
FileDescriptorSetChild.cpp Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
FileDescriptorSetChild.h Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
FileDescriptorSetParent.cpp Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj 2020-08-04 11:27:07 +00:00
FileDescriptorSetParent.h Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
FileDescriptorShuffle.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
FileDescriptorShuffle.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2020-01-09 21:50:11 +00:00
FileDescriptorUtils.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-05-25 07:42:38 +00:00
FileDescriptorUtils.h Bug 1639837 - make CloseFileRunnable use mozilla::Runnable; r=jld 2020-05-22 22:36:59 +00:00
ForkServer.cpp Bug 1677466 - Split Endpoint.h and ProtocolMessageUtils.h from ProtocolUtils.h. r=mccr8 2020-11-23 16:06:42 +00:00
ForkServer.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2020-01-09 21:50:11 +00:00
ForkServiceChild.cpp Bug 1667183 - Restart fork server on error. r=gsvelto 2020-12-01 13:43:52 +00:00
ForkServiceChild.h Bug 1667183 - Restart fork server on error. r=gsvelto 2020-12-01 13:43:52 +00:00
GeckoChildProcessHost.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
GeckoChildProcessHost.h Bug 1660470 - Move IPDLParamTraits for FileDescriptor out of FileDescriptor.h. r=nika 2020-11-23 16:04:55 +00:00
IOThreadChild.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
IPCCore.h Bug 1660470 - Move void_t/null_t to a new IPCCore.h header. r=nika 2020-11-23 16:05:20 +00:00
IPCMessageUtils.cpp Bug 1677466 - Move ParamTraits specializations with extra dependencies out of IPCMessageUtils.h. r=mccr8 2020-12-10 11:09:21 +00:00
IPCMessageUtils.h Bug 1677466 - Move ParamTraits specializations with extra dependencies out of IPCMessageUtils.h. r=mccr8 2020-12-10 11:09:21 +00:00
IPCMessageUtilsSpecializations.h Bug 1677466 - Move ParamTraits specializations with extra dependencies out of IPCMessageUtils.h. r=mccr8 2020-12-10 11:09:21 +00:00
IPCStream.ipdlh Bug 1528493 - Part 2: Move OptionalIPCStream to use new maybe types, r=baku 2019-02-22 18:46:14 +00:00
IPCStreamAlloc.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
IPCStreamChild.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
IPCStreamDestination.cpp Bug 1646933 - DelayedStartInputStream::AsyncWait is wrongly implemented, r=smaug 2020-06-21 20:53:54 +00:00
IPCStreamDestination.h Bug 1601742 - Fix unified build with the forkserver. r=froydnj 2019-12-06 04:58:27 +00:00
IPCStreamParent.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
IPCStreamSource.cpp Bug 1119956 introduce DiscardableRunnable for tasks that might not run but might not implement cancellation r=asuth,sg 2020-12-02 09:36:25 +00:00
IPCStreamSource.h Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
IPCStreamUtils.cpp Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
IPCStreamUtils.h Bug 1629315 - Replace MOZ_MUST_USE with [[nodiscard]] in ipc. r=jld 2020-04-16 22:14:21 +00:00
IPCTypes.h Bug 1660470 - Avoid including IPCMessageUtils.h from header files. r=nika 2020-11-23 16:03:47 +00:00
IPDLParamTraits.h Bug 1633379 - Part 1: Move PInProcess into dom/ipc, r=kmag,Yoric 2020-06-25 17:50:51 +00:00
IdleSchedulerChild.cpp Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-04-08 06:55:40 +00:00
IdleSchedulerChild.h Bug 1589561. Factor out idle handling from PrioritizedEventQueue. r=smaug 2019-10-20 15:08:44 +00:00
IdleSchedulerParent.cpp Bug 1679272 - Include ScopeExit.h exactly where used. r=andi 2020-12-07 14:25:59 +00:00
IdleSchedulerParent.h Bug 1563063 - Cross-process idle handling, r=farre 2019-09-24 14:33:57 +00:00
InputStreamParams.ipdlh Bug 1660470 - Move void_t/null_t to a new IPCCore.h header. r=nika 2020-11-23 16:05:20 +00:00
InputStreamUtils.cpp Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
InputStreamUtils.h Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
LibrarySandboxPreload.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
LibrarySandboxPreload.h Bug 1626174 - Enable use of wasm sandboxed libOgg in the OggDemuxer in linux, mac, try servers r=padenot,erahm,dmajor,firefox-build-system-reviewers 2020-04-22 11:16:10 +00:00
MessageChannel.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
MessageChannel.h Bug 1677466 - Move ParamTraits specializations with extra dependencies out of IPCMessageUtils.h. r=mccr8 2020-12-10 11:09:21 +00:00
MessageLink.cpp Bug 1634846 - P2. Make ipc's MessageChannel works with TaskQueue, r=nika 2020-07-02 00:26:41 +00:00
MessageLink.h Bug 1677466 - Remove unnecessary includes from MessageChannel.h and MessageLink.h. r=mccr8 2020-11-23 16:06:24 +00:00
MessagePump.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
MessagePump.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
MiniTransceiver.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2020-01-09 21:50:11 +00:00
MiniTransceiver.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2020-01-09 21:50:11 +00:00
Neutering.h Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-08-02 15:29:15 +00:00
PBackground.ipdl Bug 1656768 - Propagate SessionStorage data in BackgroundSessionStorageManager to the new top browsing context while replacing the top context id; r=nika,dom-workers-and-storage-reviewers,asuth 2020-12-03 14:19:35 +00:00
PBackgroundSharedTypes.ipdlh Bug 1660470 - Move void_t/null_t to a new IPCCore.h header. r=nika 2020-11-23 16:05:20 +00:00
PBackgroundTest.ipdl
PChildToParentStream.ipdl Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
PFileDescriptorSet.ipdl Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
PIdleScheduler.ipdl Bug 1563063 - Cross-process idle handling, r=farre 2019-09-24 14:33:57 +00:00
PParentToChildStream.ipdl Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00
ProcessChild.cpp Bug 1633791 part 1: Add ability to notify the child processes of an impending shutdown. r=nika 2020-05-22 18:21:59 +00:00
ProcessChild.h Bug 1633791 part 1: Add ability to notify the child processes of an impending shutdown. r=nika 2020-05-22 18:21:59 +00:00
ProcessUtils.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
ProcessUtils_bsd.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
ProcessUtils_common.cpp Bug 1479960 - Get rid of base::SharedMemory::handle. r=froydnj 2019-08-14 22:48:22 +00:00
ProcessUtils_linux.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
ProcessUtils_mac.mm Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
ProcessUtils_none.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
ProtocolMessageUtils.h Bug 1677466 - Split Endpoint.h and ProtocolMessageUtils.h from ProtocolUtils.h. r=mccr8 2020-11-23 16:06:42 +00:00
ProtocolTypes.ipdlh
ProtocolUtils.cpp Bug 1677466 - Split Endpoint.h and ProtocolMessageUtils.h from ProtocolUtils.h. r=mccr8 2020-11-23 16:06:42 +00:00
ProtocolUtils.h Bug 1677466 - Split Endpoint.h and ProtocolMessageUtils.h from ProtocolUtils.h. r=mccr8 2020-11-23 16:06:42 +00:00
ProtocolUtilsFwd.h Bug 1660470 - Avoid including ProtocolUtils.h from header files. r=nika 2020-11-23 16:05:07 +00:00
ScopedXREEmbed.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
ScopedXREEmbed.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
SerializedStructuredCloneBuffer.h Bug 1677466 - Move ParamTraits specializations with extra dependencies out of IPCMessageUtils.h. r=mccr8 2020-12-10 11:09:21 +00:00
SharedMemory.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
SharedMemory.h Bug 1629315 - Replace MOZ_MUST_USE with [[nodiscard]] in ipc. r=jld 2020-04-16 22:14:21 +00:00
SharedMemoryBasic.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
SharedMemoryBasic_android.cpp Bug 1598068 - Add ashmem abstraction to mozglue and use it everywhere r=glandium,jld 2020-03-06 19:04:49 +00:00
SharedMemoryBasic_android.h Bug 1515551 - Add functionality to SharedMemoryBasic to help map the shared memory at an arbitrary address. r=kmag 2019-03-22 00:11:51 +00:00
SharedMemoryBasic_chromium.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in ipc. r=jld 2020-02-14 00:57:39 +00:00
SharedMemoryBasic_mach.h Bug 1567209 - CleanupForPid locking r=jld 2019-10-25 05:17:54 +00:00
SharedMemoryBasic_mach.mm Bug 1567209 - CleanupForPid locking r=jld 2019-10-25 05:17:54 +00:00
SharedMemory_posix.cpp Bug 1678445 - Crash related to Widevine playback on macOS 11 with Apples Silicon/arm64 r=jld,bryce 2020-12-01 19:05:20 +00:00
SharedMemory_windows.cpp Bug 1479960 - Add unit tests for shared memory freezing. r=froydnj 2019-08-14 22:48:52 +00:00
Shmem.cpp Bug 1660470 - Split ShmemMessageUtils.h from Shmem.h. r=nika 2020-11-23 16:05:02 +00:00
Shmem.h Bug 1660470 - Split ShmemMessageUtils.h from Shmem.h. r=nika 2020-11-23 16:05:02 +00:00
ShmemMessageUtils.h Bug 1660470 - Split ShmemMessageUtils.h from Shmem.h. r=nika 2020-11-23 16:05:02 +00:00
StringUtil.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
TaintingIPCUtils.h Bug 1610017 - Actually taint data when tainted is specified for IPC methods r=nika 2020-02-21 17:24:17 +00:00
TaskFactory.h Bug 1609996 - Remove mozilla/Move.h. r=froydnj 2020-01-20 16:18:20 +00:00
Transport.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
TransportSecurityInfoUtils.cpp Bug 1611415 - Prefer using std::move over forget. r=froydnj 2020-02-13 14:38:48 +00:00
TransportSecurityInfoUtils.h Bug 1679148 - declare template for ParamTraits, so that Thunderbird builds succeed. r=sg 2020-11-24 14:44:29 +00:00
Transport_posix.cpp Bug 1677466 - Split Endpoint.h and ProtocolMessageUtils.h from ProtocolUtils.h. r=mccr8 2020-11-23 16:06:42 +00:00
Transport_posix.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Transport_win.cpp Bug 1632687 - Part 3: Introduce an OS-dependent ChannelId type to reflect that Unix doesn't use channel IDs. r=mccr8 2020-07-22 19:04:48 +00:00
Transport_win.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
URIParams.ipdlh Bug 1660470 - Move void_t/null_t to a new IPCCore.h header. r=nika 2020-11-23 16:05:20 +00:00
URIUtils.cpp Bug 1589102 - Part 4: Allow (de)serialization of nested about: uris, r=kmag 2020-08-28 17:20:43 +00:00
URIUtils.h Bug 1547218 - Part 2: Stop special casing pointer types in ParamTraits specialization, r=froydnj 2019-05-21 17:04:39 +00:00
WindowsMessageLoop.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
WindowsMessageLoop.h Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj 2020-02-20 11:40:14 +00:00
components.conf Bug 1620745 - Bring up fork server launcher at app-startup. r=gsvelto 2020-03-18 01:01:17 +00:00
moz.build Bug 1677466 - Move ParamTraits specializations with extra dependencies out of IPCMessageUtils.h. r=mccr8 2020-12-10 11:09:21 +00:00
nsIIPCSerializableInputStream.h Bug 1596409 - P1.1: Make socket process support IPCStream r=dragana 2019-12-03 13:41:58 +00:00