netwerk/cache2/nsICacheStorageVisitor.idl
author B2G Bumper Bot <release+b2gbumper@mozilla.com>
Fri, 16 Oct 2015 16:33:13 -0700
changeset 303381 d55ff2f82700ecfdc1b17f2a21220796fa2b98b5
parent 201508 d4b2e930ecd52c6be982783ee83a7b0fc68a5918
child 306726 b531b32383d447c667f6d0687f3cc28f63595ebd
permissions -rw-r--r--
Bumping manifests a=b2g-bump

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"

interface nsIURI;
interface nsIFile;

[scriptable, uuid(946bd799-9410-4945-9085-79c7fe019e83)]
interface nsICacheStorageVisitor : nsISupports
{
  /**
   */
  void onCacheStorageInfo(in uint32_t aEntryCount,
                          in uint64_t aConsumption,
                          in uint64_t aCapacity,
                          in nsIFile aDiskDirectory);

  /**
   */
  void onCacheEntryInfo(in nsIURI aURI,
                        in ACString aIdEnhance,
                        in int64_t aDataSize,
                        in long aFetchCount,
                        in uint32_t aLastModifiedTime,
                        in uint32_t aExpirationTime);

  /**
   */
  void onCacheEntryVisitCompleted();
};