dom/broadcastchannel/PBroadcastChannel.ipdl
author Ehsan Akhgari <ehsan@mozilla.com>
Mon, 20 Jul 2015 09:47:15 -0400
changeset 287131 ed821611548724bbde98387d7012ab22d7919a77
parent 252536 8f941e5195803d9b137adb9e84c66b809106457d
child 320508 b04361fcbafcb20cfab95999b6a7b37633dd3bc7
permissions -rw-r--r--
Bug 1185515 - Don't hold the observer service alive from nsDNSService; r=mcmanus

/* 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 PBackground;
include protocol PBlob;
include DOMTypes;

using struct mozilla::SerializedStructuredCloneBuffer from "ipc/IPCMessageUtils.h";

namespace mozilla {
namespace dom {

// This protocol is used for the BroadcastChannel API
protocol PBroadcastChannel
{
  manager PBackground;

parent:
  PostMessage(ClonedMessageData message);
  Close();

child:
  Notify(ClonedMessageData message);
  __delete__();
};

} // namespace dom
} // namespace mozilla