blob: 464b4e681d9fc2090d7e1780f69afe642617cc4a (
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
|
/* 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/. */
#ifndef mozilla_net_CachePurgeLock_h__
#define mozilla_net_CachePurgeLock_h__
#include "nsICachePurgeLock.h"
#include "mozilla/MultiInstanceLock.h"
namespace mozilla::net {
class CachePurgeLock : public nsICachePurgeLock {
NS_DECL_ISUPPORTS
NS_DECL_NSICACHEPURGELOCK
private:
virtual ~CachePurgeLock() = default;
MultiInstLockHandle mLock = MULTI_INSTANCE_LOCK_HANDLE_ERROR;
};
} // namespace mozilla::net
#endif // mozilla_net_CachePurgeLock_h__
|