mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-24 16:17:29 +09:00
Issue #80 - De-unify netwerk/cache
This commit is contained in:
parent
2ba616d271
commit
fd7e75b6e6
2 changed files with 3 additions and 1 deletions
2
netwerk/cache/moz.build
vendored
2
netwerk/cache/moz.build
vendored
|
|
@ -21,7 +21,7 @@ EXPORTS += [
|
||||||
'nsDeleteDir.h'
|
'nsDeleteDir.h'
|
||||||
]
|
]
|
||||||
|
|
||||||
UNIFIED_SOURCES += [
|
SOURCES += [
|
||||||
'nsApplicationCacheService.cpp',
|
'nsApplicationCacheService.cpp',
|
||||||
'nsCache.cpp',
|
'nsCache.cpp',
|
||||||
'nsCacheEntry.cpp',
|
'nsCacheEntry.cpp',
|
||||||
|
|
|
||||||
2
netwerk/cache/nsDiskCacheDeviceSQL.cpp
vendored
2
netwerk/cache/nsDiskCacheDeviceSQL.cpp
vendored
|
|
@ -10,6 +10,7 @@
|
||||||
#include "mozilla/Attributes.h"
|
#include "mozilla/Attributes.h"
|
||||||
#include "mozilla/Sprintf.h"
|
#include "mozilla/Sprintf.h"
|
||||||
#include "mozilla/ThreadLocal.h"
|
#include "mozilla/ThreadLocal.h"
|
||||||
|
#include "mozilla/Unused.h"
|
||||||
|
|
||||||
#include "nsCache.h"
|
#include "nsCache.h"
|
||||||
#include "nsDiskCache.h"
|
#include "nsDiskCache.h"
|
||||||
|
|
@ -57,6 +58,7 @@ using namespace mozilla::storage;
|
||||||
using mozilla::NeckoOriginAttributes;
|
using mozilla::NeckoOriginAttributes;
|
||||||
|
|
||||||
static const char OFFLINE_CACHE_DEVICE_ID[] = { "offline" };
|
static const char OFFLINE_CACHE_DEVICE_ID[] = { "offline" };
|
||||||
|
static NS_DEFINE_CID(kCacheServiceCID, NS_CACHESERVICE_CID);
|
||||||
|
|
||||||
#define LOG(args) CACHE_LOG_DEBUG(args)
|
#define LOG(args) CACHE_LOG_DEBUG(args)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue