hal/sandbox/SandboxHal.h
author Jim Chen <nchen@mozilla.com>
Tue, 04 Aug 2015 17:47:28 -0400
changeset 256194 6696b897b06e06a743ce6f78ce72dc74408c56f7
parent 252586 91d6e262b662a0b4e47358665e222d3927337af9
child 448947 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1187552 - Make NativeJSContainer use direct ownership model; r=snorp Make NativeJSContainer/NativeJSObject Java objects own their corresponding C++ objects directly, to reduce an extra allocation/deallocation for each object and to simplify code.

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

#ifndef mozilla_SandboxHal_h
#define mozilla_SandboxHal_h

namespace mozilla {
namespace hal_sandbox {

class PHalChild;
class PHalParent;

PHalChild* CreateHalChild();

PHalParent* CreateHalParent();

} // namespace hal_sandbox
} // namespace mozilla

#endif  // mozilla_SandboxHal_h