diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-11-08 10:49:03 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-11-08 10:49:03 +0100 |
commit | 60c83971fb19dea49beab3a02c8913f75f62ad09 (patch) | |
tree | 90b3528a725b148a1e05f3a5a520ca3d336ca0d9 /dom/storage/DOMStorageManager.cpp | |
parent | aff468a486995dd7a31aca182666aeb6da713467 (diff) | |
download | uxp-60c83971fb19dea49beab3a02c8913f75f62ad09.tar.gz |
Issue #1263 - Part 1: Remove DiskSpaceWatcher
Diffstat (limited to 'dom/storage/DOMStorageManager.cpp')
-rw-r--r-- | dom/storage/DOMStorageManager.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/dom/storage/DOMStorageManager.cpp b/dom/storage/DOMStorageManager.cpp index 156e846ba9..8f50fcfb48 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) { |