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"
9 interface nsILoadContextInfo
;
11 [scriptable
, uuid(6cc7c253
-93b6
-482b
-8e9d
-1e04d8e9d655
)]
12 interface nsICacheStorageVisitor
: nsISupports
16 void onCacheStorageInfo
(in uint32_t aEntryCount
,
17 in uint64_t aConsumption
,
18 in uint64_t aCapacity
,
19 in nsIFile aDiskDirectory
);
23 void onCacheEntryInfo
(in nsIURI aURI
,
24 in ACString aIdEnhance
,
26 in int64_t aAltDataSize
,
27 in uint32_t aFetchCount
,
28 in uint32_t aLastModifiedTime
,
29 in uint32_t aExpirationTime
,
31 in nsILoadContextInfo aInfo
);
35 void onCacheEntryVisitCompleted
();