nsIStartupCacheInfo.idl (1354B)
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 2 * 3 * This Source Code Form is subject to the terms of the Mozilla Public 4 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 7 #include "nsISupports.idl" 8 9 /* NOTE: this interface is completely undesigned, not stable and likely to change */ 10 [scriptable, builtinclass, uuid(a6b2f8b0-7438-11ea-bc55-0242ac130003)] 11 interface nsIStartupCacheInfo : nsISupports 12 { 13 /** 14 * Returns true if the startup cache will not load from the cache from disk. 15 * This can happen if the cache file is corrupt or has been invalidated. 16 */ 17 readonly attribute boolean IgnoreDiskCache; 18 19 /** 20 * Returns true if during initialization of the startup cache an existing 21 * cache file was found on disk. This does NOT indicate if the file loaded 22 * successfully. 23 */ 24 readonly attribute boolean FoundDiskCacheOnInit; 25 26 /** 27 * Returns true once the current cache file as been written to disk at least 28 * once. If the cache was loaded from disk and never changed this may never 29 * be set to true. 30 */ 31 readonly attribute boolean WroteToDiskCache; 32 33 /** 34 * The full path and filename of the startup cache file that will be stored on 35 * disk. 36 */ 37 readonly attribute AString DiskCachePath; 38 };