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
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef mozilla_net_CachePurgeLock_h__
6 #define mozilla_net_CachePurgeLock_h__
8 #include "nsICachePurgeLock.h"
9 #include "mozilla/MultiInstanceLock.h"
11 namespace mozilla::net
{
13 class CachePurgeLock
: public nsICachePurgeLock
{
15 NS_DECL_NSICACHEPURGELOCK
17 virtual ~CachePurgeLock() = default;
19 MultiInstLockHandle mLock
= MULTI_INSTANCE_LOCK_HANDLE_ERROR
;
22 } // namespace mozilla::net
24 #endif // mozilla_net_CachePurgeLock_h__