Issue #80 - De-unify dom/storage

This commit is contained in:
Matt A. Tobin 2020-04-18 01:18:11 -04:00 • committed by Roy Tam
commit 1fb177e77a
3 changed files with 9 additions and 7 deletions

View file

@ -4,12 +4,16 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "DOMStorageDBThread.h"
#include "DOMStorageManager.h" #include "DOMStorageManager.h"
#include "mozIStorageBindingParamsArray.h" #include "mozIStorageBindingParamsArray.h"
#include "mozIStorageBindingParams.h" #include "mozIStorageBindingParams.h"
#include "mozIStorageValueArray.h" #include "mozIStorageValueArray.h"
#include "mozIStorageFunction.h" #include "mozIStorageFunction.h"
#include "mozStorageHelper.h"
#include "mozilla/BasePrincipal.h" #include "mozilla/BasePrincipal.h"
#include "nsVariant.h" #include "nsVariant.h"
#include "mozilla/Services.h" #include "mozilla/Services.h"

View file

@ -14,6 +14,7 @@
#include "nsNetUtil.h" #include "nsNetUtil.h"
#include "nsNetCID.h" #include "nsNetCID.h"
#include "nsIURL.h" #include "nsIURL.h"
#include "nsPIDOMWindow.h"
#include "nsPrintfCString.h" #include "nsPrintfCString.h"
#include "nsXULAppAPI.h" #include "nsXULAppAPI.h"
#include "nsThreadUtils.h" #include "nsThreadUtils.h"

View file

@ -9,7 +9,7 @@ EXPORTS.mozilla.dom += [
'DOMStorageIPC.h', 'DOMStorageIPC.h',
] ]
UNIFIED_SOURCES += [ SOURCES += [
'DOMStorage.cpp', 'DOMStorage.cpp',
'DOMStorageCache.cpp', 'DOMStorageCache.cpp',
'DOMStorageDBThread.cpp', 'DOMStorageDBThread.cpp',
@ -19,16 +19,13 @@ UNIFIED_SOURCES += [
'DOMStorageObserver.cpp', 'DOMStorageObserver.cpp',
] ]
IPDL_SOURCES += [ IPDL_SOURCES += ['PStorage.ipdl']
'PStorage.ipdl',
]
include('/ipc/chromium/chromium-config.mozbuild') include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'xul' FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
'/dom/base', LOCAL_INCLUDES += ['/dom/base']
]
if CONFIG['ENABLE_TESTS']: if CONFIG['ENABLE_TESTS']:
DEFINES['DOM_STORAGE_TESTS'] = True DEFINES['DOM_STORAGE_TESTS'] = True