netwerk/ipc/PSocketProcessBridge.ipdl
author Sandor Molnar <smolnar@mozilla.com>
Tue, 28 Mar 2023 03:40:44 +0300
changeset 658088 5aa2b55eb19b133d270affbe0279338a0ad2b547
parent 650960 538bbc069eab32d97a82e1940310d5da80bbb5f6
permissions -rw-r--r--
Backed out changeset 251530e20422 (bug 1818819) for causing xpc failures in devtools/shared/tests/xpcshell/test_css-properties-db.js CLOSED TREE

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * 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 protocol PBackgroundStarter;

namespace mozilla {
namespace net {

/**
  * PSocketProcessBridge is the IPC protocol between content process and
  * socket process. This protocol allows socket process to send data to
  * content process bypassing parent process.
  * Once created, PSocketProcessBridgeChild is the actor that lives in
  * content process and PSocketProcessBridgeParent lives in
  * socket process.
  */
[ManualDealloc, NeedsOtherPid]
sync protocol PSocketProcessBridge
{

parent:
  async InitBackground(Endpoint<PBackgroundStarterParent> aEndpoint);
both:
  async Test();
};

}
}