dom/network/PTCPServerSocket.ipdl
author Emilio Cobos Álvarez <emilio@crisal.io>
Tue, 09 Apr 2019 00:11:03 +0000
changeset 468475 05cee7dc3b5ca0745802c80a27f13c2dc4638ebe
parent 282269 b04361fcbafcb20cfab95999b6a7b37633dd3bc7
permissions -rw-r--r--
Bug 1542762 - Use an explicit stack to measure rule tree memory usage. r=heycam A patch of mine that makes us measure the rule tree more often triggers this. Differential Revision: https://phabricator.services.mozilla.com/D26595

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set sw=2 ts=8 et tw=80 ft=cpp : */

/* 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 PNecko;
include protocol PTCPSocket;

include "mozilla/net/NeckoMessageUtils.h";

namespace mozilla {
namespace net {

//-------------------------------------------------------------------
protocol PTCPServerSocket
{
  manager PNecko;

parent:
  async Close();
  async RequestDelete();

child:
  async CallbackAccept(PTCPSocket socket);
  async __delete__();
};

} // namespace net
} // namespace mozilla