security/sandbox/linux/SandboxInternal.h
author Boris Chiou <boris.chiou@gmail.com>
Wed, 25 May 2016 17:10:53 +0800
changeset 371285 f3290344ee2948b63d3ea7b9f20e3d6e4a3c6671
parent 229535 d06d1a469bb1962807e29e036666e06c4f5670e5
child 430048 8b07f481251c7c1aa8911e5f53f26d0c71f14dfc
permissions -rw-r--r--
Bug 1244590 - Part 6: Refactor the calculation of StyleAnimationValue. We want to reuse the StyleAnimationValues of properties of each keyframe when applying spacing and building animation property segments, so refactor this part. MozReview-Commit-ID: 8G56C3BU3FR

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

#ifndef mozilla_SandboxInternal_h
#define mozilla_SandboxInternal_h

#include <signal.h>

#include "mozilla/Types.h"

namespace mozilla {

// SandboxCrash() has to be in libxul to use internal interfaces, but
// its caller in the sandbox code is elsewhere:
// * Desktop: defined in libxul; referenced in plugin-container.
// * Mobile: defined in libmozsandbox; referenced in libxul.
// See also bug 1101170.

typedef void (*SandboxCrashFunc)(int, siginfo_t*, void*);
extern MOZ_EXPORT SandboxCrashFunc gSandboxCrashFunc;

} // namespace mozilla

#endif // mozilla_SandboxInternal_h