Merge mozilla-central to autoland. CLOSED TREE
[gecko.git] / netwerk / base / CacheInfoIPCTypes.h
blobb3d227733527aaa479de646824dd795d5b975c1c
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef mozilla_net_CacheInfoIPCTypes_h_
6 #define mozilla_net_CacheInfoIPCTypes_h_
8 #include "ipc/IPCMessageUtils.h"
9 #include "ipc/IPCMessageUtilsSpecializations.h"
10 #include "nsICacheInfoChannel.h"
12 namespace IPC {
14 template <>
15 struct ParamTraits<nsICacheInfoChannel::PreferredAlternativeDataDeliveryType>
16 : public ContiguousEnumSerializerInclusive<
17 nsICacheInfoChannel::PreferredAlternativeDataDeliveryType,
18 nsICacheInfoChannel::PreferredAlternativeDataDeliveryType::NONE,
19 nsICacheInfoChannel::PreferredAlternativeDataDeliveryType::
20 SERIALIZE> {};
22 } // namespace IPC
24 #endif // mozilla_net_CacheInfoIPCTypes_h_