зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1359718 - Get rid of PBlob - part 5 - Fixing #includes, r=smaug
This commit is contained in:
Родитель
785d0e9d03
Коммит
dc11620f89
|
@ -7,8 +7,8 @@
|
|||
#include "IPCBlobInputStream.h"
|
||||
#include "IPCBlobInputStreamChild.h"
|
||||
#include "IPCBlobInputStreamStorage.h"
|
||||
#include "mozilla/ipc/InputStreamParams.h"
|
||||
#include "nsIAsyncInputStream.h"
|
||||
#include "mozilla/SystemGroup.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
@ -350,7 +350,7 @@ void
|
|||
IPCBlobInputStream::Serialize(mozilla::ipc::InputStreamParams& aParams,
|
||||
FileDescriptorArray& aFileDescriptors)
|
||||
{
|
||||
IPCBlobInputStreamParams params;
|
||||
mozilla::ipc::IPCBlobInputStreamParams params;
|
||||
params.id() = mActor->ID();
|
||||
|
||||
aParams = params;
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "nsIFileStreams.h"
|
||||
#include "nsIIPCSerializableInputStream.h"
|
||||
#include "nsISeekableStream.h"
|
||||
#include "nsCOMPtr.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "IPCBlobInputStreamChild.h"
|
||||
|
||||
#include "mozilla/ipc/IPCStreamUtils.h"
|
||||
#include "WorkerHolder.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
@ -229,7 +231,7 @@ IPCBlobInputStreamChild::StreamNeeded(IPCBlobInputStream* aStream,
|
|||
mozilla::ipc::IPCResult
|
||||
IPCBlobInputStreamChild::RecvStreamReady(const OptionalIPCStream& aStream)
|
||||
{
|
||||
nsCOMPtr<nsIInputStream> stream = DeserializeIPCStream(aStream);
|
||||
nsCOMPtr<nsIInputStream> stream = mozilla::ipc::DeserializeIPCStream(aStream);
|
||||
|
||||
RefPtr<IPCBlobInputStream> pendingStream;
|
||||
nsCOMPtr<nsIEventTarget> eventTarget;
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include "IPCBlobInputStreamParent.h"
|
||||
#include "IPCBlobInputStreamStorage.h"
|
||||
#include "mozilla/ipc/IPCStreamUtils.h"
|
||||
#include "nsContentUtils.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
@ -91,7 +92,7 @@ IPCBlobInputStreamParent::RecvStreamNeeded()
|
|||
return IPC_OK();
|
||||
}
|
||||
|
||||
AutoIPCStream ipcStream;
|
||||
mozilla::ipc::AutoIPCStream ipcStream;
|
||||
bool ok = false;
|
||||
|
||||
if (mContentManager) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче