nsIQuotaManagerServiceInternal.idl (1508B)
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* vim: set ts=2 et sw=2 tw=80: */ 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 /** 10 * This interface defines internal methods for use within Quota Manager code. 11 * It is intended strictly for internal implementation details and should not 12 * be used outside of Quota Manager internal code. 13 */ 14 [scriptable, builtinclass, uuid(7df37702-e977-4107-9b1d-289439e7d37b)] 15 interface nsIQuotaManagerServiceInternal : nsISupports 16 { 17 /** 18 * Sets the thumbnail private identity id. 19 * 20 * This method is used internally by Quota Manager to cache the thumbnail 21 * private identity id on the QuotaManager IO thread. The cached id is 22 * intended to be used by various optimizations, such as counting thumbnail 23 * private identity temporary origins. 24 * 25 * @param aThumbnailPrivateIdentityId The new thumbnail private identity id 26 * to set. 27 * 28 * @note This method is called internally from the handler for the 29 * `contextual-identity-service-load-finished` observer topic. The id 30 * is obtained on the main thread within that handler before being 31 * passed to this method. 32 */ 33 void setThumbnailPrivateIdentityId( 34 in unsigned long aThumbnailPrivateIdentityId); 35 };