зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
a2417944d2
Коммит
8f9e4e8061
|
@ -4,7 +4,7 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/. */
|
* 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/Unused.h"
|
||||||
#include "mozilla/dom/cache/ActorUtils.h"
|
#include "mozilla/dom/cache/ActorUtils.h"
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
namespace dom {
|
namespace dom {
|
||||||
|
|
||||||
|
class IPCBlobInputStream;
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
class InputStreamCallbackRunnable final : public CancelableRunnable {
|
class InputStreamCallbackRunnable final : public CancelableRunnable {
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
#define mozilla_dom_IPCBlobInputStreamChild_h
|
#define mozilla_dom_IPCBlobInputStreamChild_h
|
||||||
|
|
||||||
#include "mozilla/dom/PIPCBlobInputStreamChild.h"
|
#include "mozilla/dom/PIPCBlobInputStreamChild.h"
|
||||||
|
#include "mozilla/dom/IPCBlobInputStream.h"
|
||||||
#include "mozilla/Mutex.h"
|
#include "mozilla/Mutex.h"
|
||||||
#include "mozilla/UniquePtr.h"
|
#include "mozilla/UniquePtr.h"
|
||||||
#include "nsTArray.h"
|
#include "nsTArray.h"
|
||||||
|
|
|
@ -46,6 +46,16 @@ already_AddRefed<IPCBlobInputStreamParent> IPCBlobInputStreamParent::Create(
|
||||||
return actor.forget();
|
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,
|
IPCBlobInputStreamParent::IPCBlobInputStreamParent(const nsID& aID,
|
||||||
uint64_t aSize,
|
uint64_t aSize,
|
||||||
ContentParent* aManager)
|
ContentParent* aManager)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
#include "IPCBlobInputStreamStorage.h"
|
#include "IPCBlobInputStreamStorage.h"
|
||||||
|
#include "mozilla/SlicedInputStream.h"
|
||||||
#include "mozilla/dom/ContentParent.h"
|
#include "mozilla/dom/ContentParent.h"
|
||||||
#include "mozilla/StaticMutex.h"
|
#include "mozilla/StaticMutex.h"
|
||||||
#include "mozilla/StaticPtr.h"
|
#include "mozilla/StaticPtr.h"
|
||||||
|
|
|
@ -7,8 +7,10 @@
|
||||||
#ifndef mozilla_dom_IPCBlobInputStreamThread_h
|
#ifndef mozilla_dom_IPCBlobInputStreamThread_h
|
||||||
#define mozilla_dom_IPCBlobInputStreamThread_h
|
#define mozilla_dom_IPCBlobInputStreamThread_h
|
||||||
|
|
||||||
|
#include "mozilla/dom/IPCBlobInputStreamChild.h"
|
||||||
#include "nsIEventTarget.h"
|
#include "nsIEventTarget.h"
|
||||||
#include "nsIObserver.h"
|
#include "nsIObserver.h"
|
||||||
|
#include "nsTArray.h"
|
||||||
|
|
||||||
class nsIThread;
|
class nsIThread;
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
#include "TemporaryIPCBlobChild.h"
|
#include "TemporaryIPCBlobChild.h"
|
||||||
#include "mozilla/dom/MutableBlobStorage.h"
|
#include "mozilla/dom/MutableBlobStorage.h"
|
||||||
|
#include "mozilla/dom/IPCBlobUtils.h"
|
||||||
#include <private/pprio.h>
|
#include <private/pprio.h>
|
||||||
|
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
|
|
|
@ -4,11 +4,12 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* 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/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
|
#include "private/pprio.h"
|
||||||
#include "TemporaryIPCBlobParent.h"
|
#include "TemporaryIPCBlobParent.h"
|
||||||
|
|
||||||
#include "mozilla/dom/FileBlobImpl.h"
|
#include "mozilla/dom/FileBlobImpl.h"
|
||||||
#include "nsAnonymousTemporaryFile.h"
|
#include "nsAnonymousTemporaryFile.h"
|
||||||
#include "TemporaryFileBlobImpl.h"
|
#include "TemporaryFileBlobImpl.h"
|
||||||
|
#include "mozilla/dom/IPCBlobUtils.h"
|
||||||
|
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
namespace dom {
|
namespace dom {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче