nsICacheStorageVisitor.idl (1130B)
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 #include "nsISupports.idl" 6 7 interface nsIURI; 8 interface nsIFile; 9 interface nsILoadContextInfo; 10 11 [scriptable, uuid(6cc7c253-93b6-482b-8e9d-1e04d8e9d655)] 12 interface nsICacheStorageVisitor : nsISupports 13 { 14 /** 15 */ 16 void onCacheStorageInfo(in uint32_t aEntryCount, 17 in uint64_t aConsumption, 18 in uint64_t aCapacity, 19 in nsIFile aDiskDirectory); 20 21 /** 22 */ 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); 32 33 /** 34 */ 35 void onCacheEntryVisitCompleted(); 36 };