tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

CacheInfoIPCTypes.h (868B)


      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/. */
      4 
      5 #ifndef mozilla_net_CacheInfoIPCTypes_h_
      6 #define mozilla_net_CacheInfoIPCTypes_h_
      7 
      8 #include "ipc/IPCMessageUtils.h"
      9 #include "ipc/IPCMessageUtilsSpecializations.h"
     10 #include "nsICacheInfoChannel.h"
     11 
     12 namespace IPC {
     13 
     14 template <>
     15 struct ParamTraits<nsICacheInfoChannel::PreferredAlternativeDataDeliveryType>
     16    : public ContiguousEnumSerializerInclusive<
     17          nsICacheInfoChannel::PreferredAlternativeDataDeliveryType,
     18          nsICacheInfoChannel::PreferredAlternativeDataDeliveryType::NONE,
     19          nsICacheInfoChannel::PreferredAlternativeDataDeliveryType::
     20              SERIALIZE> {};
     21 
     22 }  // namespace IPC
     23 
     24 #endif  // mozilla_net_CacheInfoIPCTypes_h_