gecko-dev/dom/indexedDB
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
..
crashtests
test Bug 1120178 - Migrate DOMError to DOMExtension in FileReader, IndexedDB, DOMRequest and so on, r=smaug 2017-08-06 20:47:00 +03:00
ActorsChild.cpp Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
ActorsChild.h Bug 1366647 - Adopt NS_ASSERT_OWNINGTHREAD for PRThread equality. r=janv 2017-06-07 13:55:00 +08:00
ActorsParent.cpp Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
ActorsParent.h
FileInfo.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
FileInfo.h
FileManager.h Bug 1311057 - Part 2: Remove isApp from quota manager and its clients; r=asuth 2017-03-06 18:38:42 +01:00
FileSnapshot.cpp Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
FileSnapshot.h Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
IDBCursor.cpp Bug 1402858 - Remove ENABLE_INTL_API conditional and non-Intl legacy codepaths from IndexedDB. r=janv 2017-09-25 17:32:23 +01:00
IDBCursor.h Bug 1402858 - Remove ENABLE_INTL_API conditional and non-Intl legacy codepaths from IndexedDB. r=janv 2017-09-25 17:32:23 +01:00
IDBDatabase.cpp Bug 1399322 - Don't assume that HoldWorker() call must always succeed. IDBTransaction::Create() is now fallible again; r=asuth 2017-09-20 10:53:14 +02:00
IDBDatabase.h Bug 1352401 - Part 2: Count active IDBOpenRequest, IndexedDB databases/transactions. r=janv 2017-06-16 19:06:36 +08:00
IDBEvents.cpp
IDBEvents.h Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj 2017-08-16 16:48:52 -07:00
IDBFactory.cpp Bug 1360567 - Add telemetry probes for Indexeddb storage types, r=janv, datareview=francois 2017-09-18 17:00:37 +08:00
IDBFactory.h Bug 1352401 - Part 2: Count active IDBOpenRequest, IndexedDB databases/transactions. r=janv 2017-06-16 19:06:36 +08:00
IDBFileHandle.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
IDBFileHandle.h Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm. 2017-09-22 14:35:46 +10:00
IDBFileRequest.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
IDBFileRequest.h Bug 1366647 - Adopt NS_ASSERT_OWNINGTHREAD for PRThread equality. r=janv 2017-06-07 13:55:00 +08:00
IDBIndex.cpp Bug 1382563 - Remove ns*String::AssignWithConversion. r=erahm. 2017-07-24 19:23:52 +02:00
IDBIndex.h
IDBKeyRange.cpp Bug 1395071 - Unify the key validation using Key::EncodeJSValInternal. r=baku 2017-09-01 13:50:14 +08:00
IDBKeyRange.h Bug 1366647 - Adopt NS_ASSERT_OWNINGTHREAD for PRThread equality. r=janv 2017-06-07 13:55:00 +08:00
IDBMutableFile.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
IDBMutableFile.h Bug 1370519 - Part 2: Merge FileHandle base classes with IndexedDB specific classes (except parent actors); r=btseng 2017-06-07 12:36:42 +02:00
IDBObjectStore.cpp Bug 1402858 - Remove ENABLE_INTL_API conditional and non-Intl legacy codepaths from IndexedDB. r=janv 2017-09-25 17:32:23 +01:00
IDBObjectStore.h Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly 2017-08-08 14:41:05 -07:00
IDBRequest.cpp Bug 1120178 - Migrate DOMError to DOMExtension in FileReader, IndexedDB, DOMRequest and so on, r=smaug 2017-08-06 20:47:00 +03:00
IDBRequest.h Bug 1120178 - Migrate DOMError to DOMExtension in FileReader, IndexedDB, DOMRequest and so on, r=smaug 2017-08-06 20:47:00 +03:00
IDBTransaction.cpp Bug 1403023 - Set mSentCommitOrAbort to true when HoldWorker call fails to silence the destructor assertion (this is a followup fix for bug 1399322); r=asuth 2017-09-29 08:48:47 +02:00
IDBTransaction.h Bug 1120178 - Migrate DOMError to DOMExtension in FileReader, IndexedDB, DOMRequest and so on, r=smaug 2017-08-06 20:47:00 +03:00
IDBWrapperCache.cpp Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv 2017-08-29 16:02:48 -07:00
IDBWrapperCache.h
IndexedDatabase.h
IndexedDatabaseInlines.h
IndexedDatabaseManager.cpp Bug 1120178 - Migrate DOMError to DOMExtension in FileReader, IndexedDB, DOMRequest and so on, r=smaug 2017-08-06 20:47:00 +03:00
IndexedDatabaseManager.h Bug 1402858 - Remove ENABLE_INTL_API conditional and non-Intl legacy codepaths from IndexedDB. r=janv 2017-09-25 17:32:23 +01:00
Key.cpp Bug 1402858 - Remove ENABLE_INTL_API conditional and non-Intl legacy codepaths from IndexedDB. r=janv 2017-09-25 17:32:23 +01:00
Key.h Bug 1402858 - Remove ENABLE_INTL_API conditional and non-Intl legacy codepaths from IndexedDB. r=janv 2017-09-25 17:32:23 +01:00
KeyPath.cpp Bug 1401105 - Fix the failure of keypath-special-identifiers.htm. r=baku 2017-09-19 15:52:48 +08:00
KeyPath.h
moz.build Bug 1402858 - Remove ENABLE_INTL_API conditional and non-Intl legacy codepaths from IndexedDB. r=janv 2017-09-25 17:32:23 +01:00
PBackgroundIDBCursor.ipdl Bug 1360185 - Use of IPCBlob in IndexedDB - part 1 - Replacement of PBlob with IPCBlob, r=janv 2017-05-23 07:50:33 +02:00
PBackgroundIDBDatabase.ipdl Bug 1360185 - Use of IPCBlob in IndexedDB - part 1 - Replacement of PBlob with IPCBlob, r=janv 2017-05-23 07:50:33 +02:00
PBackgroundIDBDatabaseFile.ipdl
PBackgroundIDBDatabaseRequest.ipdl
PBackgroundIDBFactory.ipdl
PBackgroundIDBFactoryRequest.ipdl
PBackgroundIDBRequest.ipdl Bug 1360185 - Use of IPCBlob in IndexedDB - part 1 - Replacement of PBlob with IPCBlob, r=janv 2017-05-23 07:50:33 +02:00
PBackgroundIDBSharedTypes.ipdlh Bug 1360185 - Use of IPCBlob in IndexedDB - part 1 - Replacement of PBlob with IPCBlob, r=janv 2017-05-23 07:50:33 +02:00
PBackgroundIDBTransaction.ipdl
PBackgroundIDBVersionChangeTransaction.ipdl Bug 1360185 - Use of IPCBlob in IndexedDB - part 1 - Replacement of PBlob with IPCBlob, r=janv 2017-05-23 07:50:33 +02:00
PBackgroundIndexedDBUtils.ipdl
PermissionRequestBase.cpp
PermissionRequestBase.h
PIndexedDBPermissionRequest.ipdl
ProfilerHelpers.h 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
ReportInternalError.cpp
ReportInternalError.h Bug 1339826 - Part 2: Warn if a maintenance finishes with an error; r=btseng 2017-04-28 17:42:53 +02:00
ScriptErrorHelper.cpp Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron. 2017-08-04 14:40:52 +10:00
ScriptErrorHelper.h Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj 2017-08-16 16:48:52 -07:00
SerializationHelpers.h