gecko-dev/dom/locks/PLockRequest.ipdl
Kagami Sascha Rosylight 7d18f1fe6f Bug 1740732 - Destruct stolen lock requests r=smaug
That makes LockRequestParent::Recv__delete__ explicitly for active lock requests.

Differential Revision: https://phabricator.services.mozilla.com/D131005
2021-11-12 01:11:33 +00:00

29 lines
637 B
Plaintext

/* 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 {
[RefCounted]
protocol PLockRequest {
manager PLockManager;
child:
async Resolve(LockMode aMode, bool aIsAvailable);
both:
async __delete__(bool aAborted);
};
} // namespace cache
} // namespace dom
} // namespace mozilla