summaryrefslogtreecommitdiffstats
path: root/dom
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-18 01:18:11 -0400
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-24 10:28:16 +0200
commit9e8adc25a480eaaa83f04964a20eeda6b413c5ab (patch)
treeab6473450530a5a55c47b5db224b785ae1940fe8 /dom
parent7f66e8946a750a6eca4090b4ddae1fcc78a4459b (diff)
downloadUXP-9e8adc25a480eaaa83f04964a20eeda6b413c5ab.tar
UXP-9e8adc25a480eaaa83f04964a20eeda6b413c5ab.tar.gz
UXP-9e8adc25a480eaaa83f04964a20eeda6b413c5ab.tar.lz
UXP-9e8adc25a480eaaa83f04964a20eeda6b413c5ab.tar.xz
UXP-9e8adc25a480eaaa83f04964a20eeda6b413c5ab.zip
Issue #80 - De-unify dom/storage
Diffstat (limited to 'dom')
-rw-r--r--dom/storage/DOMStorageDBUpdater.cpp4
-rw-r--r--dom/storage/DOMStorageManager.cpp1
-rw-r--r--dom/storage/moz.build11
3 files changed, 9 insertions, 7 deletions
diff --git a/dom/storage/DOMStorageDBUpdater.cpp b/dom/storage/DOMStorageDBUpdater.cpp
index 8e3f07d7c..61d86ca6c 100644
--- a/dom/storage/DOMStorageDBUpdater.cpp
+++ b/dom/storage/DOMStorageDBUpdater.cpp
@@ -4,12 +4,16 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+#include "DOMStorageDBThread.h"
#include "DOMStorageManager.h"
#include "mozIStorageBindingParamsArray.h"
#include "mozIStorageBindingParams.h"
#include "mozIStorageValueArray.h"
#include "mozIStorageFunction.h"
+
+#include "mozStorageHelper.h"
+
#include "mozilla/BasePrincipal.h"
#include "nsVariant.h"
#include "mozilla/Services.h"
diff --git a/dom/storage/DOMStorageManager.cpp b/dom/storage/DOMStorageManager.cpp
index 8f50fcfb4..55a360e16 100644
--- a/dom/storage/DOMStorageManager.cpp
+++ b/dom/storage/DOMStorageManager.cpp
@@ -14,6 +14,7 @@
#include "nsNetUtil.h"
#include "nsNetCID.h"
#include "nsIURL.h"
+#include "nsPIDOMWindow.h"
#include "nsPrintfCString.h"
#include "nsXULAppAPI.h"
#include "nsThreadUtils.h"
diff --git a/dom/storage/moz.build b/dom/storage/moz.build
index 47c2fb85f..7d52d6d7b 100644
--- a/dom/storage/moz.build
+++ b/dom/storage/moz.build
@@ -9,7 +9,7 @@ EXPORTS.mozilla.dom += [
'DOMStorageIPC.h',
]
-UNIFIED_SOURCES += [
+SOURCES += [
'DOMStorage.cpp',
'DOMStorageCache.cpp',
'DOMStorageDBThread.cpp',
@@ -19,16 +19,13 @@ UNIFIED_SOURCES += [
'DOMStorageObserver.cpp',
]
-IPDL_SOURCES += [
- 'PStorage.ipdl',
-]
+IPDL_SOURCES += ['PStorage.ipdl']
include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'xul'
-LOCAL_INCLUDES += [
- '/dom/base',
-]
+
+LOCAL_INCLUDES += ['/dom/base']
if CONFIG['ENABLE_TESTS']:
DEFINES['DOM_STORAGE_TESTS'] = True