summaryrefslogtreecommitdiffstats
path: root/dom/indexedDB/IndexedDatabaseManager.h
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/indexedDB/IndexedDatabaseManager.h
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/indexedDB/IndexedDatabaseManager.h')
-rw-r--r--dom/indexedDB/IndexedDatabaseManager.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/dom/indexedDB/IndexedDatabaseManager.h b/dom/indexedDB/IndexedDatabaseManager.h
index d63c548ec..fb4376426 100644
--- a/dom/indexedDB/IndexedDatabaseManager.h
+++ b/dom/indexedDB/IndexedDatabaseManager.h
@@ -7,8 +7,6 @@
#ifndef mozilla_dom_indexeddatabasemanager_h__
#define mozilla_dom_indexeddatabasemanager_h__
-#include "nsIObserver.h"
-
#include "js/TypeDecls.h"
#include "mozilla/Atomics.h"
#include "mozilla/dom/quota/PersistenceType.h"
@@ -43,8 +41,7 @@ class FileManagerInfo;
} // namespace indexedDB
class IndexedDatabaseManager final
- : public nsIObserver
- , public nsITimerCallback
+ : public nsITimerCallback
{
typedef mozilla::dom::quota::PersistenceType PersistenceType;
typedef mozilla::dom::quota::QuotaManager QuotaManager;
@@ -62,7 +59,6 @@ public:
};
NS_DECL_ISUPPORTS
- NS_DECL_NSIOBSERVER
NS_DECL_NSITIMERCALLBACK
// Returns a non-owning reference.
@@ -87,16 +83,6 @@ public:
#endif
static bool
- InLowDiskSpaceMode()
-#ifdef DEBUG
- ;
-#else
- {
- return !!sLowDiskSpaceMode;
- }
-#endif
-
- static bool
InTestingMode();
static bool
@@ -244,7 +230,6 @@ private:
static bool sFullSynchronousMode;
static LazyLogModule sLoggingModule;
static Atomic<LoggingMode> sLoggingMode;
- static mozilla::Atomic<bool> sLowDiskSpaceMode;
};
} // namespace dom