summaryrefslogtreecommitdiff
path: root/dom/storage
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-18 01:18:11 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-18 01:18:11 -0400
commit480d9a30e28a9684aae4d1f6b5200e12f8d6d486 (patch)
tree8b2a9a1993586cbe5586e957fb9ae86009e23df0 /dom/storage
parent77f879e74a8162805fef7c2a3b7c16a0325e2273 (diff)
downloaduxp-480d9a30e28a9684aae4d1f6b5200e12f8d6d486.tar.gz
Issue #80 - De-unify dom/storage
Diffstat (limited to 'dom/storage')
-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 8e3f07d7ce..61d86ca6c7 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 8f50fcfb48..55a360e16d 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 47c2fb85f7..7d52d6d7b0 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