tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nsIQuotaUtilsService.idl (970B)


      1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* This Source Code Form is subject to the terms of the Mozilla Public
      3 * License, v. 2.0. If a copy of the MPL was not distributed with this
      4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      5 
      6 #include "nsISupports.idl"
      7 
      8 /**
      9 * This interface provides utility methods for storage and quota management
     10 * that require information only available in JavaScript system modules. It
     11 * serves as a bridge for accessing such information from C++ code where direct
     12 * access is not feasible.
     13 */
     14 [scriptable, uuid(cdeca40d-74f4-44a2-beb3-84cd0bbc7785)]
     15 interface nsIQuotaUtilsService : nsISupports
     16 {
     17  /**
     18   * Retrieves the private identity id corresponding to the specified name.
     19   *
     20   * @param aName The name for which the private identity id is requested.
     21   * @return The private identity id as an unsigned long.
     22   */
     23  unsigned long getPrivateIdentityId(in AString aName);
     24 };