[network] Use a proof of lock everywhere in cache v2.

This commit is contained in:
Moonchild 2021-08-11 23:49:44 +00:00 • committed by roytam1
commit 9aed4d8a38
6 changed files with 355 additions and 344 deletions

View file

@ -20,8 +20,8 @@ public:
virtual ~CacheIndexContextIterator();
private:
virtual void AddRecord(CacheIndexRecord *aRecord);
virtual void AddRecords(const nsTArray<CacheIndexRecord *> &aRecords);
virtual void AddRecord(CacheIndexRecordWrapper* aRecord,
const StaticMutexAutoLock& aProofOfLock) override;
nsCOMPtr<nsILoadContextInfo> mInfo;
};