Backed out changeset 06f41c22f3a6 (bug 1888460) for causing linux xpcshell failures...
[gecko.git] / dom / media / MediaPromiseDefs.h
bloba979ef19a5d68a1e617fc5715bdb7f5eadd154dd
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_
9 #include "MediaResult.h"
10 #include "mozilla/MozPromise.h"
12 namespace mozilla {
14 using SetCDMPromise =
15 MozPromise<bool /* aIgnored */, MediaResult, /* IsExclusive */ true>;
17 } // namespace mozilla
19 #endif