Bug 1861709 replace AudioCallbackDriver::ThreadRunning() assertions that mean to...
[gecko.git] / netwerk / cache2 / nsICacheStorageVisitor.idl
blob138de2c9846a71c11bb918bc8cc951f9faec9a7a
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 #include "nsISupports.idl"
7 interface nsIURI;
8 interface nsIFile;
9 interface nsILoadContextInfo;
11 [scriptable, uuid(6cc7c253-93b6-482b-8e9d-1e04d8e9d655)]
12 interface nsICacheStorageVisitor : nsISupports
14 /**
16 void onCacheStorageInfo(in uint32_t aEntryCount,
17 in uint64_t aConsumption,
18 in uint64_t aCapacity,
19 in nsIFile aDiskDirectory);
21 /**
23 void onCacheEntryInfo(in nsIURI aURI,
24 in ACString aIdEnhance,
25 in int64_t aDataSize,
26 in int64_t aAltDataSize,
27 in uint32_t aFetchCount,
28 in uint32_t aLastModifiedTime,
29 in uint32_t aExpirationTime,
30 in boolean aPinned,
31 in nsILoadContextInfo aInfo);
33 /**
35 void onCacheEntryVisitCompleted();