Bug 1861709 replace AudioCallbackDriver::ThreadRunning() assertions that mean to...
[gecko.git] / netwerk / cache2 / CacheIndexContextIterator.h
blobf9c19409e702c6f1a7b62ffd9ae00f1105ce20ba
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 CacheIndexContextIterator__h__
6 #define CacheIndexContextIterator__h__
8 #include "CacheIndexIterator.h"
10 class nsILoadContextInfo;
12 namespace mozilla {
13 namespace net {
15 class CacheIndexContextIterator : public CacheIndexIterator {
16 public:
17 CacheIndexContextIterator(CacheIndex* aIndex, bool aAddNew,
18 nsILoadContextInfo* aInfo);
19 virtual ~CacheIndexContextIterator() = default;
21 private:
22 virtual void AddRecord(CacheIndexRecordWrapper* aRecord,
23 const StaticMutexAutoLock& aProofOfLock) override;
25 nsCOMPtr<nsILoadContextInfo> mInfo;
28 } // namespace net
29 } // namespace mozilla
31 #endif