Issue #80 - De-unify dom/cache

This commit is contained in:
wolfbeast 2020-04-18 17:39:59 +02:00 committed by Roy Tam
commit f6dce887e1
7 changed files with 12 additions and 1 deletions

View file

@ -12,6 +12,7 @@
#include "mozilla/dom/cache/SavedTypes.h"
#include "mozilla/ipc/FileDescriptorSetParent.h"
#include "mozilla/ipc/InputStreamUtils.h"
#include "mozilla/ipc/IPCStreamUtils.h"
#include "mozilla/ipc/SendStream.h"
namespace mozilla {

View file

@ -7,6 +7,7 @@
#include "mozilla/dom/cache/CacheStorage.h"
#include "mozilla/Unused.h"
#include "mozilla/dom/CacheBinding.h"
#include "mozilla/dom/CacheStorageBinding.h"
#include "mozilla/dom/Promise.h"
#include "mozilla/dom/Response.h"
@ -29,6 +30,8 @@
#include "nsURLParsers.h"
#include "WorkerPrivate.h"
using namespace mozilla::dom;
namespace mozilla {
namespace dom {
namespace cache {

View file

@ -11,6 +11,7 @@
#include "mozilla/dom/cache/CacheTypes.h"
#include "mozilla/dom/cache/ReadStream.h"
#include "mozilla/ipc/FileDescriptorSetChild.h"
#include "mozilla/ipc/IPCStreamUtils.h"
#include "mozilla/ipc/PBackgroundChild.h"
#include "mozilla/ipc/PFileDescriptorSetChild.h"
#include "nsISupportsImpl.h"

View file

@ -11,6 +11,7 @@
#include "mozilla/dom/cache/ReadStream.h"
#include "mozilla/dom/cache/StreamList.h"
#include "mozilla/ipc/FileDescriptorSetParent.h"
#include "mozilla/ipc/IPCStreamUtils.h"
#include "mozilla/ipc/PBackgroundParent.h"
#include "mozilla/ipc/PFileDescriptorSetParent.h"
#include "nsISupportsImpl.h"
@ -20,6 +21,7 @@ namespace dom {
namespace cache {
using mozilla::dom::OptionalFileDescriptorSet;
using mozilla::ipc::AutoIPCStream;
using mozilla::ipc::FileDescriptor;
using mozilla::ipc::FileDescriptorSetParent;
using mozilla::ipc::PFileDescriptorSetParent;

View file

@ -12,9 +12,12 @@
#include "nsID.h"
#include "nsIInputStream.h"
#include "nsISupportsImpl.h"
#include "mozilla/ErrorResult.h"
#include "mozilla/RefPtr.h"
#include "nsTArrayForwardDeclare.h"
using namespace mozilla;
namespace mozilla {
namespace ipc {
class AutoIPCStream;

View file

@ -14,6 +14,7 @@
#include "mozilla/dom/cache/CacheTypes.h"
#include "mozilla/dom/cache/ReadStream.h"
#include "mozilla/ipc/BackgroundChild.h"
#include "mozilla/ipc/IPCStreamUtils.h"
#include "mozilla/ipc/PBackgroundChild.h"
#include "mozilla/ipc/PFileDescriptorSetChild.h"
#include "mozilla/ipc/InputStreamUtils.h"

2
dom/cache/moz.build vendored
View file

@ -38,7 +38,7 @@ EXPORTS.mozilla.dom.cache += [
'TypeUtils.h',
]
UNIFIED_SOURCES += [
SOURCES += [
'Action.cpp',
'ActorChild.cpp',
'AutoUtils.cpp',