Bug 1769311 - Cleanup dom/indexedDB headers r=sylvestre DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D146339
This commit is contained in:
Serge Guelton
2022-05-30 10:02:39 +00:00
parent 39b2dc42d1
commit 5ff5ace97c
3 changed files with 7 additions and 10 deletions

View File

@@ -8,10 +8,6 @@
#include <algorithm> #include <algorithm>
#include <stdint.h> // for UINT32_MAX, uintptr_t #include <stdint.h> // for UINT32_MAX, uintptr_t
#include "IndexedDBCommon.h"
#include "IndexedDatabase.h"
#include "IndexedDatabaseInlines.h"
#include "IndexedDatabaseManager.h"
#include "js/Array.h" // JS::NewArrayObject #include "js/Array.h" // JS::NewArrayObject
#include "js/ArrayBuffer.h" // JS::{IsArrayBufferObject,NewArrayBuffer{,WithContents},GetArrayBufferLengthAndData} #include "js/ArrayBuffer.h" // JS::{IsArrayBufferObject,NewArrayBuffer{,WithContents},GetArrayBufferLengthAndData}
#include "js/Date.h" #include "js/Date.h"
@@ -28,10 +24,12 @@
#include "mozilla/intl/Collator.h" #include "mozilla/intl/Collator.h"
#include "mozilla/ResultExtensions.h" #include "mozilla/ResultExtensions.h"
#include "mozilla/ReverseIterator.h" #include "mozilla/ReverseIterator.h"
#include "mozilla/dom/indexedDB/IDBResult.h"
#include "mozilla/dom/indexedDB/Key.h"
#include "mozilla/dom/quota/QuotaCommon.h"
#include "mozilla/dom/quota/ResultExtensions.h" #include "mozilla/dom/quota/ResultExtensions.h"
#include "mozIStorageStatement.h" #include "mozIStorageStatement.h"
#include "mozIStorageValueArray.h" #include "mozIStorageValueArray.h"
#include "nsAlgorithm.h"
#include "nsJSUtils.h" #include "nsJSUtils.h"
#include "ReportInternalError.h" #include "ReportInternalError.h"
#include "xpcpublic.h" #include "xpcpublic.h"

View File

@@ -9,10 +9,6 @@
#include "mozilla/dom/indexedDB/IDBResult.h" #include "mozilla/dom/indexedDB/IDBResult.h"
#include "js/RootingAPI.h"
#include "js/TypeDecls.h"
#include "nsString.h"
class mozIStorageStatement; class mozIStorageStatement;
class mozIStorageValueArray; class mozIStorageValueArray;

View File

@@ -12,10 +12,13 @@
#include "mozilla/IntegerRange.h" #include "mozilla/IntegerRange.h"
#include "mozilla/Unused.h" #include "mozilla/Unused.h"
#include "jsapi.h"
#include "js/Array.h" // JS::GetArrayLength, JS::IsArrayObject, JS::NewArrayObject #include "js/Array.h" // JS::GetArrayLength, JS::IsArrayObject, JS::NewArrayObject
#include "js/ArrayBuffer.h" #include "js/ArrayBuffer.h"
#include "js/PropertyAndElement.h" // JS_GetElement, JS_SetElement #include "js/PropertyAndElement.h" // JS_GetElement, JS_SetElement
#include "js/RootingAPI.h"
#include "js/String.h"
#include "js/TypeDecls.h"
#include "js/Value.h"
// TODO: This PrintTo overload is defined in dom/media/gtest/TestGroupId.cpp. // TODO: This PrintTo overload is defined in dom/media/gtest/TestGroupId.cpp.
// However, it is not used, probably because of // However, it is not used, probably because of