dom/ipc/PProcessHangMonitor.ipdl
author Mike Hommey <mh+mozilla@glandium.org>
Wed, 10 Jun 2015 09:58:50 +0900
changeset 247858 5c0acaf8f47857f634ffdf3151f5418f18cbb97d
parent 223497 8ab6c26d26f5404a742ab245ad2115e09e01d5d7
child 286827 3438e0228ed7167f0f331a541cee59616c824c74
permissions -rw-r--r--
bug 1172632 - Move some allocator related configure checks in a common location for both top-level and js/src to use. r=mshal

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 * vim: sw=2 ts=8 et :
 */
/* 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/. */

using mozilla::dom::TabId from "mozilla/dom/ipc/IdType.h";

namespace mozilla {

struct SlowScriptData
{
  TabId tabId;
  nsCString filename;
  uint32_t lineno;
};

struct PluginHangData
{
  uint32_t pluginId;
};

union HangData
{
  SlowScriptData;
  PluginHangData;
};

protocol PProcessHangMonitor
{
parent:
  async HangEvidence(HangData data);

child:
  async TerminateScript();

  async BeginStartingDebugger();
  async EndStartingDebugger();
};

} // namespace mozilla