mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +09:00
Issue #80 - De-unify dom/indexedDB
This commit is contained in:
parent
9b1967f0c3
commit
9a61935395
9 changed files with 20 additions and 3 deletions
|
|
@ -16,6 +16,7 @@
|
|||
#include "IDBTransaction.h"
|
||||
#include "IDBFactory.h"
|
||||
#include "IndexedDatabaseManager.h"
|
||||
#include "KeyPath.h"
|
||||
#include "mozilla/ErrorResult.h"
|
||||
#include "mozilla/EventDispatcher.h"
|
||||
#include "MainThreadUtils.h"
|
||||
|
|
@ -54,13 +55,15 @@
|
|||
// Include this last to avoid path problems on Windows.
|
||||
#include "ActorsChild.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
using namespace mozilla::dom::indexedDB;
|
||||
|
||||
using namespace mozilla::dom::quota;
|
||||
using namespace mozilla::ipc;
|
||||
using namespace mozilla::services;
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
namespace {
|
||||
|
||||
const char kCycleCollectionObserverTopic[] = "cycle-collector-end";
|
||||
|
|
|
|||
|
|
@ -41,6 +41,8 @@
|
|||
#include "nsContentUtils.h" // For assertions.
|
||||
#endif
|
||||
|
||||
using namespace mozilla::dom::indexedDB;
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@
|
|||
#include "mozilla/dom/IDBFileHandleBinding.h"
|
||||
#include "mozilla/dom/filehandle/ActorsChild.h"
|
||||
#include "mozilla/EventDispatcher.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsQueryObject.h"
|
||||
#include "nsServiceManagerUtils.h"
|
||||
#include "nsWidgetsCID.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,9 @@
|
|||
// Include this last to avoid path problems on Windows.
|
||||
#include "ActorsChild.h"
|
||||
|
||||
using namespace mozilla::dom;
|
||||
using namespace mozilla::dom::indexedDB;
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
|
|
|
|||
|
|
@ -52,6 +52,8 @@
|
|||
// Include this last to avoid path problems on Windows.
|
||||
#include "ActorsChild.h"
|
||||
|
||||
using namespace mozilla::dom::indexedDB;
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
#include "mozilla/ipc/BackgroundChild.h"
|
||||
#include "nsAutoPtr.h"
|
||||
#include "nsPIDOMWindow.h"
|
||||
#include "nsQueryObject.h"
|
||||
#include "nsServiceManagerUtils.h"
|
||||
#include "nsTHashtable.h"
|
||||
#include "ProfilerHelpers.h"
|
||||
|
|
|
|||
|
|
@ -11,10 +11,12 @@
|
|||
|
||||
#include "nsCharSeparatedTokenizer.h"
|
||||
#include "nsJSUtils.h"
|
||||
#include "nsPrintfCString.h"
|
||||
#include "xpcpublic.h"
|
||||
|
||||
#include "mozilla/dom/BindingDeclarations.h"
|
||||
#include "mozilla/dom/BlobBinding.h"
|
||||
#include "mozilla/dom/File.h" // for Blob
|
||||
#include "mozilla/dom/IDBObjectStoreBinding.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@
|
|||
#ifndef mozilla_dom_indexeddb_scripterrorhelper_h__
|
||||
#define mozilla_dom_indexeddb_scripterrorhelper_h__
|
||||
|
||||
#include "nsString.h"
|
||||
|
||||
class nsAString;
|
||||
|
||||
namespace mozilla {
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ EXPORTS.mozilla.dom.indexedDB += [
|
|||
'SerializationHelpers.h',
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
SOURCES += [
|
||||
'ActorsChild.cpp',
|
||||
'FileInfo.cpp',
|
||||
'FileSnapshot.cpp',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue