//
// Automatically generated by ipdlc.
// Edit at your own risk
//

#ifndef PSocketProcessBridge_h
#define PSocketProcessBridge_h

#include "mozilla/Attributes.h"
#include "IPCMessageStart.h"
#include "mozilla/RefPtr.h"
#include "nsString.h"
#include "nsTArray.h"
#include "nsTHashtable.h"
#include "mozilla/MozPromise.h"
#include "mozilla/OperatorNewExtensions.h"
#include "mozilla/UniquePtr.h"
#include "mozilla/ipc/ByteBuf.h"
#include "mozilla/ipc/FileDescriptor.h"
#include "mozilla/ipc/IPCForwards.h"
#include "mozilla/ipc/Shmem.h"

namespace mozilla {
namespace net {
class PSocketProcessBridgeParent;
} // namespace net
} // namespace mozilla
namespace mozilla {
namespace net {
class PSocketProcessBridgeChild;
} // namespace net
} // namespace mozilla

//-----------------------------------------------------------------------------
// Code common to PSocketProcessBridgeChild and PSocketProcessBridgeParent
//
namespace mozilla {
namespace net {
namespace PSocketProcessBridge {

nsresult
CreateEndpoints(
        mozilla::ipc::EndpointProcInfo aParentDestInfo,
        mozilla::ipc::EndpointProcInfo aChildDestInfo,
        mozilla::ipc::Endpoint<::mozilla::net::PSocketProcessBridgeParent>* aParent,
        mozilla::ipc::Endpoint<::mozilla::net::PSocketProcessBridgeChild>* aChild);

enum MessageType {
    PSocketProcessBridgeStart = PSocketProcessBridgeMsgStart << 16,
    Msg_InitBackgroundDataBridge__ID,
    PSocketProcessBridgeEnd
};

mozilla::UniquePtr<IPC::Message>
Msg_InitBackgroundDataBridge(IPC::Message::routeid_t routingId);



} // namespace PSocketProcessBridge
} // namespace net
} // namespace mozilla

#endif // ifndef PSocketProcessBridge_h
