Bug 1776761 [wpt PR 34611] - [FedCM] Remove traces of revoke, a=testonly
[gecko.git] / widget / nsTransferableIPC.h
blob57696d8942956da1d3615b461843922960436070
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef nsTransferableIPC_h__
7 #define nsTransferableIPC_h__
9 #include "ipc/EnumSerializer.h"
11 enum class TransferableDataType : uint8_t {
12 String,
13 CString,
14 InputStream,
15 ImageContainer,
16 Blob,
19 namespace IPC {
21 template <>
22 struct ParamTraits<TransferableDataType>
23 : public ContiguousEnumSerializerInclusive<TransferableDataType,
24 TransferableDataType::String,
25 TransferableDataType::Blob> {};
27 } // namespace IPC
29 #endif // nsTransferableIPC_h__