tor-browser

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

MediaPromiseDefs.h (592B)


      1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim:set ts=2 sw=2 sts=2 et cindent: */
      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/. */
      6 #ifndef MediaPromiseDefs_h_
      7 #define MediaPromiseDefs_h_
      8 
      9 #include "MediaResult.h"
     10 #include "mozilla/MozPromise.h"
     11 
     12 namespace mozilla {
     13 
     14 using SetCDMPromise =
     15    MozPromise<bool /* aIgnored */, MediaResult, /* IsExclusive */ true>;
     16 
     17 }  // namespace mozilla
     18 
     19 #endif