1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef mozilla_ipc_IPCForwards_h
8 #define mozilla_ipc_IPCForwards_h
10 // A few helpers to avoid having to include lots of stuff in headers.
19 } // namespace mozilla
25 template <typename T
, bool>
29 // TODO(bug 1812271): Remove users of this macro.
30 #define ALLOW_DEPRECATED_READPARAM \
32 enum { kHasDeprecatedReadParamPrivateConstructor = true }; \
33 template <typename, bool> \
34 friend class IPC::ReadResult; \