summaryrefslogtreecommitdiffstats
path: root/netwerk/cache
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-17 11:06:45 +0000
committerMoonchild <moonchild@palemoon.org>2020-05-17 11:06:45 +0000
commit798f491abec3889c4ad4904a966a915238166a5c (patch)
tree6c074f370d3bd260361c40c79da1f134123a659d /netwerk/cache
parent922f9b4f527cb78eb19dd6c5e4bfc5c19730fd6f (diff)
downloadUXP-798f491abec3889c4ad4904a966a915238166a5c.tar
UXP-798f491abec3889c4ad4904a966a915238166a5c.tar.gz
UXP-798f491abec3889c4ad4904a966a915238166a5c.tar.lz
UXP-798f491abec3889c4ad4904a966a915238166a5c.tar.xz
UXP-798f491abec3889c4ad4904a966a915238166a5c.zip
Issue #80 - De-unify netwerk/cache
Diffstat (limited to 'netwerk/cache')
-rw-r--r--netwerk/cache/moz.build2
-rw-r--r--netwerk/cache/nsDiskCacheDeviceSQL.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/netwerk/cache/moz.build b/netwerk/cache/moz.build
index adf6e8bd2..d343cc5f5 100644
--- a/netwerk/cache/moz.build
+++ b/netwerk/cache/moz.build
@@ -21,7 +21,7 @@ EXPORTS += [
'nsDeleteDir.h'
]
-UNIFIED_SOURCES += [
+SOURCES += [
'nsApplicationCacheService.cpp',
'nsCache.cpp',
'nsCacheEntry.cpp',
diff --git a/netwerk/cache/nsDiskCacheDeviceSQL.cpp b/netwerk/cache/nsDiskCacheDeviceSQL.cpp
index f4b1d72c9..69cc15130 100644
--- a/netwerk/cache/nsDiskCacheDeviceSQL.cpp
+++ b/netwerk/cache/nsDiskCacheDeviceSQL.cpp
@@ -10,6 +10,7 @@
#include "mozilla/Attributes.h"
#include "mozilla/Sprintf.h"
#include "mozilla/ThreadLocal.h"
+#include "mozilla/Unused.h"
#include "nsCache.h"
#include "nsDiskCache.h"
@@ -57,6 +58,7 @@ using namespace mozilla::storage;
using mozilla::NeckoOriginAttributes;
static const char OFFLINE_CACHE_DEVICE_ID[] = { "offline" };
+static NS_DEFINE_CID(kCacheServiceCID, NS_CACHESERVICE_CID);
#define LOG(args) CACHE_LOG_DEBUG(args)