Issue #80 - De-unify netwerk/cache2

This commit is contained in:
Moonchild 2020-05-17 14:14:09 +00:00 committed by Roy Tam
commit 36ea31cc81
6 changed files with 8 additions and 6 deletions

View file

@ -10,6 +10,7 @@
#include "CacheFileMetadata.h"
#include "nsRefPtrHashtable.h"
#include "nsClassHashtable.h"
#include "nsICacheEntry.h"
#include "mozilla/Mutex.h"
class nsIInputStream;

View file

@ -8,6 +8,7 @@
#include "CacheIndex.h"
#include "CacheIndexIterator.h"
#include "CacheFileUtils.h"
#include "CacheObserver.h"
#include "nsIFile.h"
#include "LoadContextInfo.h"
#include "nsThreadUtils.h"

View file

@ -5,6 +5,7 @@
#include "CacheIndex.h"
#include "CacheLog.h"
#include "CacheFileUtils.h"
#include "CacheObserver.h"
#include "LoadContextInfo.h"
#include "mozilla/Tokenizer.h"
#include "nsCOMPtr.h"

View file

@ -6,6 +6,7 @@
#include "mozilla/BasePrincipal.h"
#include "plstr.h"
#include "mozilla/SHA1.h"
namespace mozilla {
namespace net {

View file

@ -4,6 +4,8 @@
#include "CacheIOThread.h"
#include "CacheFileIOManager.h"
#include "CacheObserver.h"
#include "CacheLog.h"
#include "nsIRunnable.h"
#include "nsISupportsImpl.h"

View file

@ -21,7 +21,8 @@ EXPORTS += [
'CacheStorageService.h',
]
UNIFIED_SOURCES += [
SOURCES += [
'AppCacheStorage.cpp',
'CacheEntry.cpp',
'CacheFile.cpp',
'CacheFileChunk.cpp',
@ -43,11 +44,6 @@ UNIFIED_SOURCES += [
'OldWrappers.cpp',
]
# AppCacheStorage.cpp cannot be built in unified mode because it uses plarena.h.
SOURCES += [
'AppCacheStorage.cpp',
]
LOCAL_INCLUDES += [
'/netwerk/base',
'/netwerk/cache',