mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Issue #2653 - Part 4: Remove isApp from quota manager and its clients
This commit is contained in:
parent
7f086f216c
commit
53cab0f8ce
11 changed files with 97 additions and 236 deletions
5
dom/cache/Context.cpp
vendored
5
dom/cache/Context.cpp
vendored
|
|
@ -259,7 +259,6 @@ Context::QuotaInitRunnable::OpenDirectory()
|
|||
QuotaManager::Get()->OpenDirectory(PERSISTENCE_TYPE_DEFAULT,
|
||||
mQuotaInfo.mGroup,
|
||||
mQuotaInfo.mOrigin,
|
||||
mQuotaInfo.mIsApp,
|
||||
quota::Client::DOMCACHE,
|
||||
/* aExclusive */ false,
|
||||
this);
|
||||
|
|
@ -376,8 +375,7 @@ Context::QuotaInitRunnable::Run()
|
|||
nsresult rv = QuotaManager::GetInfoFromPrincipal(principal,
|
||||
&mQuotaInfo.mSuffix,
|
||||
&mQuotaInfo.mGroup,
|
||||
&mQuotaInfo.mOrigin,
|
||||
&mQuotaInfo.mIsApp);
|
||||
&mQuotaInfo.mOrigin);
|
||||
if (NS_WARN_IF(NS_FAILED(rv))) {
|
||||
resolver->Resolve(rv);
|
||||
break;
|
||||
|
|
@ -436,7 +434,6 @@ Context::QuotaInitRunnable::Run()
|
|||
mQuotaInfo.mSuffix,
|
||||
mQuotaInfo.mGroup,
|
||||
mQuotaInfo.mOrigin,
|
||||
mQuotaInfo.mIsApp,
|
||||
getter_AddRefs(mQuotaInfo.mDir));
|
||||
if (NS_FAILED(rv)) {
|
||||
resolver->Resolve(rv);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue