Skip to content

Commit

Permalink
Bug 1769311 - Cleanup dom/indexedDB headers r=sylvestre DONTBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
Serge Guelton committed May 30, 2022
1 parent 012cda6 commit 804d415
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
8 changes: 3 additions & 5 deletions dom/indexedDB/Key.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@

#include <algorithm>
#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/ArrayBuffer.h" // JS::{IsArrayBufferObject,NewArrayBuffer{,WithContents},GetArrayBufferLengthAndData}
#include "js/Date.h"
Expand All @@ -28,10 +24,12 @@
#include "mozilla/intl/Collator.h"
#include "mozilla/ResultExtensions.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 "mozIStorageStatement.h"
#include "mozIStorageValueArray.h"
#include "nsAlgorithm.h"
#include "nsJSUtils.h"
#include "ReportInternalError.h"
#include "xpcpublic.h"
Expand Down
4 changes: 0 additions & 4 deletions dom/indexedDB/Key.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@

#include "mozilla/dom/indexedDB/IDBResult.h"

#include "js/RootingAPI.h"
#include "js/TypeDecls.h"
#include "nsString.h"

class mozIStorageStatement;
class mozIStorageValueArray;

Expand Down
5 changes: 4 additions & 1 deletion dom/indexedDB/test/gtest/TestKey.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@
#include "mozilla/IntegerRange.h"
#include "mozilla/Unused.h"

#include "jsapi.h"
#include "js/Array.h" // JS::GetArrayLength, JS::IsArrayObject, JS::NewArrayObject
#include "js/ArrayBuffer.h"
#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.
// However, it is not used, probably because of
Expand Down

0 comments on commit 804d415

Please sign in to comment.