mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1624588 - dom/file/ipc sources now also build when not unified r=baku
Missing includes, namespace-related issues, and missing template instantiations added to make sources compile without unifying. Differential Revision: https://phabricator.services.mozilla.com/D68142 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
a2417944d2
commit
8f9e4e8061
2
dom/cache/CacheStreamControlChild.cpp
vendored
2
dom/cache/CacheStreamControlChild.cpp
vendored
@ -4,7 +4,7 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "mozilla/dom/cache/CacheStreamControlChild.h"
|
||||
#include "CacheStreamControlChild.h"
|
||||
|
||||
#include "mozilla/Unused.h"
|
||||
#include "mozilla/dom/cache/ActorUtils.h"
|
||||
|
@ -21,6 +21,8 @@
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
class IPCBlobInputStream;
|
||||
|
||||
namespace {
|
||||
|
||||
class InputStreamCallbackRunnable final : public CancelableRunnable {
|
||||
|
@ -8,6 +8,7 @@
|
||||
#define mozilla_dom_IPCBlobInputStreamChild_h
|
||||
|
||||
#include "mozilla/dom/PIPCBlobInputStreamChild.h"
|
||||
#include "mozilla/dom/IPCBlobInputStream.h"
|
||||
#include "mozilla/Mutex.h"
|
||||
#include "mozilla/UniquePtr.h"
|
||||
#include "nsTArray.h"
|
||||
|
@ -46,6 +46,16 @@ already_AddRefed<IPCBlobInputStreamParent> IPCBlobInputStreamParent::Create(
|
||||
return actor.forget();
|
||||
}
|
||||
|
||||
template already_AddRefed<IPCBlobInputStreamParent>
|
||||
IPCBlobInputStreamParent::Create<mozilla::ipc::PBackgroundParent>(
|
||||
nsIInputStream*, unsigned long, unsigned long, nsresult*,
|
||||
mozilla::ipc::PBackgroundParent*);
|
||||
|
||||
template already_AddRefed<IPCBlobInputStreamParent>
|
||||
IPCBlobInputStreamParent::Create<ContentParent>(nsIInputStream*, unsigned long,
|
||||
unsigned long, nsresult*,
|
||||
ContentParent*);
|
||||
|
||||
IPCBlobInputStreamParent::IPCBlobInputStreamParent(const nsID& aID,
|
||||
uint64_t aSize,
|
||||
ContentParent* aManager)
|
||||
|
@ -5,7 +5,7 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "IPCBlobInputStreamStorage.h"
|
||||
|
||||
#include "mozilla/SlicedInputStream.h"
|
||||
#include "mozilla/dom/ContentParent.h"
|
||||
#include "mozilla/StaticMutex.h"
|
||||
#include "mozilla/StaticPtr.h"
|
||||
|
@ -7,8 +7,10 @@
|
||||
#ifndef mozilla_dom_IPCBlobInputStreamThread_h
|
||||
#define mozilla_dom_IPCBlobInputStreamThread_h
|
||||
|
||||
#include "mozilla/dom/IPCBlobInputStreamChild.h"
|
||||
#include "nsIEventTarget.h"
|
||||
#include "nsIObserver.h"
|
||||
#include "nsTArray.h"
|
||||
|
||||
class nsIThread;
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
#include "TemporaryIPCBlobChild.h"
|
||||
#include "mozilla/dom/MutableBlobStorage.h"
|
||||
#include "mozilla/dom/IPCBlobUtils.h"
|
||||
#include <private/pprio.h>
|
||||
|
||||
namespace mozilla {
|
||||
|
@ -4,11 +4,12 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "private/pprio.h"
|
||||
#include "TemporaryIPCBlobParent.h"
|
||||
|
||||
#include "mozilla/dom/FileBlobImpl.h"
|
||||
#include "nsAnonymousTemporaryFile.h"
|
||||
#include "TemporaryFileBlobImpl.h"
|
||||
#include "mozilla/dom/IPCBlobUtils.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
Loading…
Reference in New Issue
Block a user