gecko/ipc/glue
Nathan Froyd dcfc4cc6da Bug 1212027 - part 5 - add LoneManagedOrNull for simplifying a lot of upcoming code; r=jld
A lot of existing code has variations on:

  if (ManagedPFooChild().Length()) {
    ...(ManagedPFooChild()[0])...
  }
  // Do something with nullptr, or some other action.

It's pretty reasonable to repeat this code when the managed protocols
are stored in an array; the code gets much less nice when managed
protocols are stored in a hashtable.  Let's write a small utility
function to handle those details for us.  Then when we change the
underlying storage, we only need to update this function, rather than a
bunch of callsites.

ProtocolUtils.h is included by all the generated IPDL headers, so
LoneManagedOrNull should be available everywhere the above pattern would
be encountered.
2015-10-07 20:15:56 -04:00
..
BackgroundChild.h
BackgroundChildImpl.cpp Bug 1200477 - Allow building with WebRTC disabled. r=glandium,mrbkap 2015-09-18 08:29:14 +02:00
BackgroundChildImpl.h Bug 771288 - Multiprocess FileHandle support (FileHandle on PBackground); r=baku 2015-09-09 13:15:05 +02:00
BackgroundImpl.cpp Bug 1212986 - Background ChildImpl should delete its Transport. r=mrbkap 2015-10-14 11:03:47 -07:00
BackgroundParent.h
BackgroundParentImpl.cpp Bug 1200477 - Allow building with WebRTC disabled. r=glandium,mrbkap 2015-09-18 08:29:14 +02:00
BackgroundParentImpl.h Bug 1104616 - Proxy video capture access to the main process. r=jesup,glandium,mrbkap 2015-08-31 14:51:29 +02:00
BackgroundUtils.cpp Backed out 2 changesets (bug 1182571) for being a likely cause of the Android S4 errors 2015-10-15 14:07:06 -07:00
BackgroundUtils.h Bug 1179505 - Make LoadInfo arguments optional in ipdl (r=bent,sicking) 2015-07-13 22:43:13 -07:00
BrowserProcessSubThread.cpp
BrowserProcessSubThread.h
CrossProcessMutex_posix.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
CrossProcessMutex_unimplemented.cpp
CrossProcessMutex_windows.cpp
CrossProcessMutex.h bug 1204985 - make SharedMemoryBasic_mach build on iOS. r=billm 2015-09-22 13:59:00 -04:00
FileDescriptor.cpp
FileDescriptor.h
FileDescriptorSetChild.cpp
FileDescriptorSetChild.h
FileDescriptorSetParent.cpp
FileDescriptorSetParent.h
FileDescriptorUtils.cpp
FileDescriptorUtils.h
GeckoChildProcessHost.cpp Bug 1201438 - Fixup for builds with disabled sandbox. 2015-09-09 14:17:12 +02:00
GeckoChildProcessHost.h
InputStreamParams.ipdlh
InputStreamUtils.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
InputStreamUtils.h
IOThreadChild.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
IPCMessageUtils.h Bug 1203426 - Rename StructuredCloneIPCHelper to StructuredCloneData, r=smaug 2015-09-10 21:50:58 +01:00
Makefile.in bug 1204985 horrible clobber-avoidance bustage fix r=YOLO CLOSED TREE 2015-09-23 22:05:01 -04:00
MessageChannel.cpp bug 1212906 - don't handle windows messages while waiting for a sync a11y ipc message r=billm 2015-10-14 14:02:47 -04:00
MessageChannel.h bug 1212906 - don't handle windows messages while waiting for a sync a11y ipc message r=billm 2015-10-14 14:02:47 -04:00
MessageLink.cpp Bug 1204405: Don't access prefs off main thread in testing ProcessLink::Open(). r=khuey 2015-09-17 14:40:23 +08:00
MessageLink.h bug 1212906 - don't handle windows messages while waiting for a sync a11y ipc message r=billm 2015-10-14 14:02:47 -04:00
MessagePump.cpp Bug 1179909: Refactor stable state handling. r=smaug 2015-08-11 06:10:46 -07:00
MessagePump.h
moz.build bug 1204985 - make SharedMemoryBasic_mach build on iOS. r=billm 2015-09-22 13:59:00 -04:00
Neutering.h Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
nsIIPCBackgroundChildCreateCallback.h
nsIIPCSerializableInputStream.h
nsIIPCSerializableURI.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
PBackground.ipdl Bug 1104616 - Proxy video capture access to the main process. r=jesup,glandium,mrbkap 2015-08-31 14:51:29 +02:00
PBackgroundSharedTypes.ipdlh Bug 1167100 - User originAttribute in ContentPrincipalInfo. r=bholley 2015-09-23 18:19:06 +08:00
PBackgroundTest.ipdl
PFileDescriptorSet.ipdl
PProcLoader.ipdl
ProcessChild.cpp
ProcessChild.h
ProcessUtils_bsd.cpp
ProcessUtils_linux.cpp
ProcessUtils_mac.mm
ProcessUtils_none.cpp
ProcessUtils.h
ProtocolTypes.ipdlh
ProtocolUtils.cpp Bug 1191976 - Intentionally crash if we hit an IPC FatalError in the parent process. r=billm 2015-08-18 15:28:01 -04:00
ProtocolUtils.h Bug 1212027 - part 5 - add LoneManagedOrNull for simplifying a lot of upcoming code; r=jld 2015-10-07 20:15:56 -04:00
ScopedXREEmbed.cpp
ScopedXREEmbed.h
SharedMemory_posix.cpp
SharedMemory_windows.cpp
SharedMemory.cpp
SharedMemory.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
SharedMemoryBasic_android.cpp
SharedMemoryBasic_android.h
SharedMemoryBasic_chromium.h
SharedMemoryBasic_mach.h
SharedMemoryBasic_mach.mm Bug 1205164 - Detect message races in Mach Shmem implementation. r=blassey 2015-09-25 12:30:46 +02:00
SharedMemoryBasic.h bug 1204985 - make SharedMemoryBasic_mach build on iOS. r=billm 2015-09-22 13:59:00 -04:00
SharedMemorySysV.h
Shmem.cpp
Shmem.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
StringUtil.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
Transport_posix.cpp
Transport_posix.h
Transport_win.cpp
Transport_win.h
Transport.h
URIParams.ipdlh
URIUtils.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
URIUtils.h
WindowsMessageLoop.cpp bug 1212906 - don't handle windows messages while waiting for a sync a11y ipc message r=billm 2015-10-14 14:02:47 -04:00
WindowsMessageLoop.h