tor-browser

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

GVAutoplayRequestStatusIPC.h (751B)


      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 DOM_MEDIA_GVAUTOPLAYREQUESTSTATUSIPC_H_
      6 #define DOM_MEDIA_GVAUTOPLAYREQUESTSTATUSIPC_H_
      7 
      8 #include "GVAutoplayRequestUtils.h"
      9 #include "ipc/EnumSerializer.h"
     10 
     11 namespace IPC {
     12 
     13 template <>
     14 struct ParamTraits<mozilla::dom::GVAutoplayRequestStatus>
     15    : public ContiguousEnumSerializerInclusive<
     16          mozilla::dom::GVAutoplayRequestStatus,
     17          mozilla::dom::GVAutoplayRequestStatus::eUNKNOWN,
     18          mozilla::dom::GVAutoplayRequestStatus::ePENDING> {};
     19 
     20 }  // namespace IPC
     21 
     22 #endif  // DOM_MEDIA_GVAUTOPLAYREQUESTSTATUSIPC_H_