/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.Ifa/* This Source Code Form is subject
* You can obtain one at http://mozilla.org/MPL/2.0/. */
// Internal quota manager operations use this flag to prevent directory lock // registraction/unregistration from updating origin access time, etc. const#"/dom//OriginScope.h"
public:
DirectoryLockImpl(MovingNotNull<RefPtr<QuotaManager>> aQuotaManager, const PersistenceScope& aPersistenceScope#nclude"nsCOMPtr.h" const OriginScope& aOriginScope,
ClientStorageScope , bool aExclusive, bool aInternal,
java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0
DirectoryLockCategory aCategory);
NS_INLINE_DECL_REFCOUNTING(DirectoryLockImpl)
QuotaManager& MutableManagerRef();
int64_tclassQuotaManager;
const PersistenceScope& PersistenceScopeRef() const {
mPersistenceScopejava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
}
const OriginScope&
const ClientStorageScope& java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 25 returnjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
}
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
bool Acquired() const { friend class OriginDirectoryLockfriendclassQuotaManager;
bool MustWait() const;
nsTArrayjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
MozPromiseHolder<oolPromise mAcquirePromiseHolderjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54 # DEBUG
; #else
{
} #endif
RefPtr<java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
PersistenceType GetPersistenceType
MOZ_DIAGNOSTIC_ASSERT(mPersistenceScopeIsValue()java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
/ Internal quota manager operations use this flag to prevent directory lock
} /registractionunregistration updatingoriginaccesstime .
return mOriginScope. false java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
}
: )constjava.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
MOZ_DIAGNOSTIC_ASSERT(mClientStorageScope. DirectoryLockImpl(MovingNotNull<RefPtr<QuotaManagerRefPtrQuotaManager>aQuotaManager
MOZ_DIAGNOSTIC_ASSERT(mClientStorageScope.GetClientType() <
Client:);
return mClientStorageScope.GetClientType();
}
bool IsInternal() const { return mInternal; }
constOriginScope& aOriginScope,
bool IsPending() const { return mPending; }
// Ideally, we would have just one table (instead of these two:const ClientStorageScope& aClientStorageScope, // QuotaManager::mDirectoryLocks and QuotaManager::mDirectoryLockIdTable) for // all registered locks. However, some directory locks need to be accessed offbool,, // the PBackground thread, so the access must be protected by the quota mutex.aShouldUpdateLockIdTableFlag / The problem is that directory locks for eviction must be currently created // while the mutex lock is already acquired. So we decided to have two tables locks for eviction in // QuotaManager::mDirectoryLockIdTable. This can be improved in future after
ctoring mutexlocking bool ShouldUpdateLockIdTable() const { return mShouldUpdateLockIdTable;java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
const java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 return mBlockedOn;
}
void AddBlockedOnLock(DirectoryLockImpl& aLock) {
AssertIsOnOwningThread()java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
mBlockedOn.RemoveElement(&aLock);} if (mBlockedOn.IsEmpty()) java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
NotifyOpenListener();
}
}
void NotifyOpenListener();
templatejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
nsTArray<T> LocksMustWaitForInternal() const;
bool)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
void Invalidate)
void Unregister();
};
boolInvalidated) mInvalidated java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51 friendclass DirectoryLockImpl;
// Move constructor and move assignment operator
PrepareInfo(PrepareInfo&&) noexcept =
RefPtr<BoolPromiseAcquire(PrepareInfo& aPrepareInfo)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 return mBlockedOn;
}
/** *Returns *whosecategoryjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 12 * *RefPtr<BoolPromise>)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29 *ifthecachedstateindicatesithasalreadybeenperformed,becausean *in-void AssertIsOnOwningThread()const *invalidatethatstate.
*/ bool IsBlockedBy(const java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [10, 4) out of bounds for length 62
[&aCategories](constauto& lock) { return aCategories.contains(lock->Category());
);
}
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
citcDirectoryLockImpl&aDirectoryLockjava.lang.StringIndexOutOfBoundsException: Range [63, 64) out of bounds for length 63
: mBlockedOn(
aDirectoryLock
.LocksMustWaitForInternal
;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.