uriloader/exthandler/PExternalHelperApp.ipdl
author Henrik Skupin <mail@hskupin.info>
Tue, 01 Nov 2016 10:48:25 +0100
changeset 321556 e7aa936d8b6e3707a29665d9eb6623d21ff5deea
parent 282269 b04361fcbafcb20cfab95999b6a7b37633dd3bc7
child 351203 787274149cb623c6c4d1fba8597d2799d1bbdb70
permissions -rw-r--r--
Bug 1299216 - Wait for process exit first before checking for crashes. r=automatedtester MozReview-Commit-ID: 8U48dNHoFmi

/* 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 PContent;
include protocol PChannelDiverter;

namespace mozilla {
namespace dom {

protocol PExternalHelperApp
{
  manager PContent;

parent:
  async OnStartRequest(nsCString entityID);
  async OnDataAvailable(nsCString data, uint64_t offset, uint32_t count);
  async OnStopRequest(nsresult code);

  async DivertToParentUsing(PChannelDiverter diverter);

child:
  async Cancel(nsresult aStatus);
  async __delete__();
};


} // namespace dom
} // namespace mozilla