summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-04-23 12:07:55 +0000
committerMoonchild <moonchild@palemoon.org>2020-04-23 12:07:55 +0000
commitf2e99fecfdb1bfc31361fac6631e5dfdb5cfa616 (patch)
treeb1ff33b4e9d6530bed4a384b1302c16b26b65b13
parent822533971544edfafc56cacbefa5b413ac3e6551 (diff)
downloaduxp-f2e99fecfdb1bfc31361fac6631e5dfdb5cfa616.tar.gz
Issue #80 - De-unify dom/quota
-rw-r--r--dom/quota/QuotaRequests.cpp1
-rw-r--r--dom/quota/QuotaResults.h1
-rw-r--r--dom/quota/StorageManager.cpp3
-rw-r--r--dom/quota/StorageManager.h2
-rw-r--r--dom/quota/moz.build2
5 files changed, 8 insertions, 1 deletions
diff --git a/dom/quota/QuotaRequests.cpp b/dom/quota/QuotaRequests.cpp
index 369bc790c3..7d1c37731f 100644
--- a/dom/quota/QuotaRequests.cpp
+++ b/dom/quota/QuotaRequests.cpp
@@ -8,6 +8,7 @@
#include "ActorsChild.h"
#include "nsIQuotaCallbacks.h"
+#include "nsIVariant.h"
namespace mozilla {
namespace dom {
diff --git a/dom/quota/QuotaResults.h b/dom/quota/QuotaResults.h
index 73fe6b7901..246bfe9c99 100644
--- a/dom/quota/QuotaResults.h
+++ b/dom/quota/QuotaResults.h
@@ -8,6 +8,7 @@
#define mozilla_dom_quota_QuotaResults_h
#include "nsIQuotaResults.h"
+#include "nsString.h"
namespace mozilla {
namespace dom {
diff --git a/dom/quota/StorageManager.cpp b/dom/quota/StorageManager.cpp
index 4e9f0cf8c6..3aad3c3e7d 100644
--- a/dom/quota/StorageManager.cpp
+++ b/dom/quota/StorageManager.cpp
@@ -13,9 +13,12 @@
#include "mozilla/ErrorResult.h"
#include "nsIQuotaCallbacks.h"
#include "nsIQuotaRequests.h"
+#include "nsIQuotaResults.h"
#include "nsPIDOMWindow.h"
+#include "QuotaManagerService.h"
using namespace mozilla::dom::workers;
+using namespace mozilla::dom::quota;
namespace mozilla {
namespace dom {
diff --git a/dom/quota/StorageManager.h b/dom/quota/StorageManager.h
index 162390f488..11dc01b6fd 100644
--- a/dom/quota/StorageManager.h
+++ b/dom/quota/StorageManager.h
@@ -7,8 +7,10 @@
#ifndef mozilla_dom_StorageManager_h
#define mozilla_dom_StorageManager_h
+#include "mozilla/ErrorResult.h"
#include "nsCOMPtr.h"
#include "nsCycleCollectionParticipant.h"
+#include "nsIGlobalObject.h"
#include "nsISupports.h"
#include "nsWrapperCache.h"
diff --git a/dom/quota/moz.build b/dom/quota/moz.build
index 66c4f4f45e..1826965691 100644
--- a/dom/quota/moz.build
+++ b/dom/quota/moz.build
@@ -31,7 +31,7 @@ EXPORTS.mozilla.dom.quota += [
'UsageInfo.h',
]
-UNIFIED_SOURCES += [
+SOURCES += [
'ActorsChild.cpp',
'ActorsParent.cpp',
'FileStreams.cpp',