summaryrefslogtreecommitdiffstats
path: root/dom/storage/DOMStorageManager.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-11-08 10:49:03 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-11-08 10:49:03 +0100
commit60c83971fb19dea49beab3a02c8913f75f62ad09 (patch)
tree90b3528a725b148a1e05f3a5a520ca3d336ca0d9 /dom/storage/DOMStorageManager.cpp
parentaff468a486995dd7a31aca182666aeb6da713467 (diff)
downloadUXP-60c83971fb19dea49beab3a02c8913f75f62ad09.tar
UXP-60c83971fb19dea49beab3a02c8913f75f62ad09.tar.gz
UXP-60c83971fb19dea49beab3a02c8913f75f62ad09.tar.lz
UXP-60c83971fb19dea49beab3a02c8913f75f62ad09.tar.xz
UXP-60c83971fb19dea49beab3a02c8913f75f62ad09.zip
Issue #1263 - Part 1: Remove DiskSpaceWatcher
Diffstat (limited to 'dom/storage/DOMStorageManager.cpp')
-rw-r--r--dom/storage/DOMStorageManager.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/dom/storage/DOMStorageManager.cpp b/dom/storage/DOMStorageManager.cpp
index 156e846ba..8f50fcfb4 100644
--- a/dom/storage/DOMStorageManager.cpp
+++ b/dom/storage/DOMStorageManager.cpp
@@ -103,7 +103,6 @@ NS_IMPL_ISUPPORTS(DOMStorageManager,
DOMStorageManager::DOMStorageManager(DOMStorage::StorageType aType)
: mCaches(8)
, mType(aType)
- , mLowDiskSpace(false)
{
DOMStorageObserver* observer = DOMStorageObserver::Self();
NS_ASSERTION(observer, "No DOMStorageObserver, cannot observe private data delete notifications!");
@@ -566,22 +565,6 @@ DOMStorageManager::Observe(const char* aTopic,
return NS_OK;
}
- if (!strcmp(aTopic, "low-disk-space")) {
- if (mType == LocalStorage) {
- mLowDiskSpace = true;
- }
-
- return NS_OK;
- }
-
- if (!strcmp(aTopic, "no-low-disk-space")) {
- if (mType == LocalStorage) {
- mLowDiskSpace = false;
- }
-
- return NS_OK;
- }
-
#ifdef DOM_STORAGE_TESTS
if (!strcmp(aTopic, "test-reload")) {
if (mType != LocalStorage) {