CachePurgeLock.h (670B)
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/. */ 4 5 #ifndef mozilla_net_CachePurgeLock_h__ 6 #define mozilla_net_CachePurgeLock_h__ 7 8 #include "nsICachePurgeLock.h" 9 #include "mozilla/MultiInstanceLock.h" 10 11 namespace mozilla::net { 12 13 class CachePurgeLock : public nsICachePurgeLock { 14 NS_DECL_ISUPPORTS 15 NS_DECL_NSICACHEPURGELOCK 16 private: 17 virtual ~CachePurgeLock() = default; 18 19 MultiInstLockHandle mLock = MULTI_INSTANCE_LOCK_HANDLE_ERROR; 20 }; 21 22 } // namespace mozilla::net 23 24 #endif // mozilla_net_CachePurgeLock_h__