summaryrefslogtreecommitdiffstats
path: root/dom/locks/PLockRequest.ipdl
blob: e7b663eeaa2c6f7597ea1ea520520e43976dc716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

include protocol PLockManager;

include "mozilla/dom/locks/IPCUtils.h";

using mozilla::dom::LockMode from "mozilla/dom/LockManagerBinding.h";

namespace mozilla {
namespace dom {
namespace locks {

protocol PLockRequest {
  manager PLockManager;

 child:
  async Resolve(LockMode aMode, bool aIsAvailable);

 both:
  async __delete__(bool aAborted);
};

} // namespace cache
} // namespace dom
} // namespace mozilla