gecko-dev/ipc/mscom
Nicholas Nethercote 8a68e6fb83 Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange.
Currently the Gecko Profiler defines a moderate amount of stuff when
MOZ_GECKO_PROFILER is undefined. It also #includes various headers, including
JS ones. This is making it difficult to separate Gecko's media stack for
inclusion in Servo.

This patch greatly simplifies how things are exposed. The starting point is:

- GeckoProfiler.h can be #included unconditionally;

- everything else from the profiler must be guarded by MOZ_GECKO_PROFILER.

In practice this introduces way too many #ifdefs, so the patch loosens it by
adding no-op macros for a number of the most common operations.

The net result is that #ifdefs and macros are used a bit more, but almost
nothing is exposed in non-MOZ_GECKO_PROFILER builds (including
ProfilerMarkerPayload.h and GeckoProfiler.h), and understanding what is exposed
is much simpler than before.

Note also that in BHR, ThreadStackHelper is now entirely absent in
non-MOZ_GECKO_PROFILER builds.
2017-10-04 09:11:18 +11:00
..
oop Bug 1393600: Ensure that the handler sends a known interface to external clients; r=jimm 2017-09-24 14:32:36 -06:00
ActivationContext.cpp Bug 1399557: Add Environment to mscom::ProxyStream and define it for IAccessible; r=jimm 2017-09-29 15:41:28 -06:00
ActivationContext.h Bug 1399557: Add Environment to mscom::ProxyStream and define it for IAccessible; r=jimm 2017-09-29 15:41:28 -06:00
Aggregation.h Bug 1303060: ipc/mscom changes for handler and payload support; r=jimm 2017-02-17 17:30:03 -07:00
AgileReference.cpp Bug 1392684 Remove const qualifier that gets discarded after function return in mscom::AgileReference r=aklotz 2017-08-22 17:25:27 -05:00
AgileReference.h Bug 1381618: Make mscom::AgileReference::mIid be an IID instead of REFIID; r=jimm 2017-07-17 14:35:58 -06:00
AsyncInvoker.h Bug 1322532: Platform a11y changes to enable handler-based live regions; r=tbsaunde 2017-04-13 20:35:32 -06:00
COMApartmentRegion.h
COMPtrHolder.h Bug 1399557: Add Environment to mscom::ProxyStream and define it for IAccessible; r=jimm 2017-09-29 15:41:28 -06:00
DispatchForwarder.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
DispatchForwarder.h
DynamicallyLinkedFunctionPtr.h Bug 1338596: Add support for agile references to mscom; r=jimm 2017-02-10 11:18:26 -07:00
EnsureMTA.cpp Bug 1392688 Make variable DebugOnly to silence warning about it being unused r=jld 2017-08-22 12:41:24 -05:00
EnsureMTA.h Bug 1379643: When running under sandbox level >= 3, parent should retain IStream of marshaled interface to be destroyed later; r=jimm 2017-07-19 12:07:45 -06:00
FastMarshaler.cpp Bug 1393589: Refactor NOPING marshaling into its own class, mscom::FastMarshaler, and use it with IGeckoBackChannel; r=jimm 2017-08-17 15:54:28 -06:00
FastMarshaler.h Bug 1393589: Refactor NOPING marshaling into its own class, mscom::FastMarshaler, and use it with IGeckoBackChannel; r=jimm 2017-08-17 15:54:28 -06:00
IHandlerProvider.h Bug 1303060: Changes to a11y to enable the serving of a COM handler; r=tbsaunde 2017-04-04 15:23:55 -06:00
Interceptor.cpp Bug 1393600: Prevent mismatches between the handler's expected interface and the one being provided by content; r=jimm 2017-09-21 16:53:56 -06:00
Interceptor.h Bug 1393600: Prevent mismatches between the handler's expected interface and the one being provided by content; r=jimm 2017-09-21 16:53:56 -06:00
InterceptorLog.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
InterceptorLog.h
MainThreadClientInfo.cpp Bug 1323069: mscom changes to facilitate resolution of remote client thread ID; r=jimm 2017-06-19 16:43:24 -06:00
MainThreadClientInfo.h Bug 1323069: mscom changes to facilitate resolution of remote client thread ID; r=jimm 2017-06-19 16:43:24 -06:00
MainThreadHandoff.cpp Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
MainThreadHandoff.h Bug 1303060: Changes to a11y to enable the serving of a COM handler; r=tbsaunde 2017-04-04 15:23:55 -06:00
MainThreadInvoker.cpp Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange. 2017-10-04 09:11:18 +11:00
MainThreadInvoker.h Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
MainThreadRuntime.cpp Bug 1383501: Restrict mscom::MainThreadRuntime crash annotations to chrome and content to avoid false-positive leakchecks in gpu process; r=bustage CLOSED TREE 2017-08-29 12:00:04 -06:00
MainThreadRuntime.h Bug 1354077: Push a11y activation context during mscom::MainThreadRuntime initialization; r=jimm 2017-06-27 11:28:41 -07:00
Objref.cpp Bug 1393600: Ensure that the handler sends a known interface to external clients; r=jimm 2017-09-24 14:32:36 -06:00
Objref.h Bug 1393600: Ensure that the handler sends a known interface to external clients; r=jimm 2017-09-24 14:32:36 -06:00
PassthruProxy.cpp Bug 1399557: Add Environment to mscom::ProxyStream and define it for IAccessible; r=jimm 2017-09-29 15:41:28 -06:00
PassthruProxy.h Bug 1405417 Add typename keyword in ipc/mscom/PassthruProxy.h to resolve ambiguity around member type r=aklotz 2017-10-03 12:32:24 -05:00
ProxyStream.cpp Bug 1399557: Add Environment to mscom::ProxyStream and define it for IAccessible; r=jimm 2017-09-29 15:41:28 -06:00
ProxyStream.h Bug 1399557: Add Environment to mscom::ProxyStream and define it for IAccessible; r=jimm 2017-09-29 15:41:28 -06:00
Ptr.h Bug 1390652: Part 2 - Add support for TABLESTRONG marshaling to mscom::ProxyStream; r=jimm 2017-08-16 16:31:07 -06:00
Registration.cpp Bug 1390652: Part 3 - Add proxy wrapper that passes its inner proxy through content as a blob; r=jimm 2017-08-21 15:47:44 -06:00
Registration.h Bug 1303060: ipc/mscom changes for handler and payload support; r=jimm 2017-02-17 17:30:03 -07:00
RegistrationAnnotator.cpp merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-08-31 14:36:51 +02:00
RegistrationAnnotator.h Bug 1383501: More crash annotation improvements for mscom proxy unmarshaling failures; r=jimm 2017-08-28 15:16:20 -06:00
SpinEvent.cpp Bug 1350688 - Use a thread safe way to get the CPU count in the SpinEvent ctor. r=aklotz 2017-03-26 06:56:01 -07:00
SpinEvent.h Bug 1339945: Refactor mscom::MainThreadInvoker's wait mechanism into a separate class; r=handyman 2017-02-10 11:27:01 -07:00
StructStream.cpp Bug 1338609: Add the ability to serialize and deserialize structs using Microsoft RPC to mscom; r=jimm 2017-02-17 14:26:56 -07:00
StructStream.h Bug 1338609: Add the ability to serialize and deserialize structs using Microsoft RPC to mscom; r=jimm 2017-02-17 14:26:56 -07:00
Utils.cpp Bug 1394395 - Fix mscom build when ACCESSIBILITY is disabled. r=jimm 2017-08-28 12:27:28 -06:00
Utils.h Bug 1394395 - Fix mscom build when ACCESSIBILITY is disabled. r=jimm 2017-08-28 12:27:28 -06:00
VTableBuilder.c Bug 1390652: Part 3 - Add proxy wrapper that passes its inner proxy through content as a blob; r=jimm 2017-08-21 15:47:44 -06:00
VTableBuilder.h Bug 1394868 Fix include casing in VTableBuilder.h to fix MinGW build r=aklotz 2017-08-29 11:34:58 -05:00
WeakRef.cpp Bug 1395329: Modify mscom::Interceptor::Create to properly initialize IUnknown interfaces; r=jimm 2017-08-30 16:34:43 -06:00
WeakRef.h Bug 1395329: Modify mscom::Interceptor::Create to properly initialize IUnknown interfaces; r=jimm 2017-08-30 16:34:43 -06:00
moz.build Bug 1383501: More crash annotation improvements for mscom proxy unmarshaling failures; r=jimm 2017-08-28 15:16:20 -06:00