Bug 1736912 [wpt PR 31334] - Fix CompositeAfterPaint backface-visibility regression...
[gecko.git] / dom / locks / PLockManager.ipdl
blob811aca3b1b165af5c6d2df7efcd58647f70c500b
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 file,
3  * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 include protocol PBackground;
6 include protocol PLockRequest;
8 include "mozilla/dom/locks/IPCUtils.h";
10 using mozilla::dom::LockMode from "mozilla/dom/LockManagerBinding.h";
11 using mozilla::dom::LockManagerSnapshot from "mozilla/dom/LockManagerBinding.h";
13 namespace mozilla {
14 namespace dom {
15 namespace locks {
17 struct IPCLockRequest {
18   nsString name;
19   LockMode lockMode;
20   bool ifAvailable;
21   bool steal;
24 [RefCounted]
25 protocol PLockManager {
26   manager PBackground;
27   manages PLockRequest;
29  parent:
30   async Query() returns (LockManagerSnapshot snapshot);
32   async PLockRequest(IPCLockRequest aRequest);
34   async __delete__();
37 } // namespace cache
38 } // namespace dom
39 } // namespace mozilla