Backed out 2 changesets (bug 1900622) for causing Bug 1908553 and ktlint failure...
[gecko.git] / netwerk / cache2 / CachePurgeLock.h
blob464b4e681d9fc2090d7e1780f69afe642617cc4a
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 {
14 NS_DECL_ISUPPORTS
15 NS_DECL_NSICACHEPURGELOCK
16 private:
17 virtual ~CachePurgeLock() = default;
19 MultiInstLockHandle mLock = MULTI_INSTANCE_LOCK_HANDLE_ERROR;
22 } // namespace mozilla::net
24 #endif // mozilla_net_CachePurgeLock_h__