зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1881694 - Remove unused method PermissionManager::LegacyTestPermissionFromURI. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D213918
This commit is contained in:
Родитель
6d68a7e6f2
Коммит
11b82e90e7
|
@ -2346,14 +2346,6 @@ PermissionManager::TestExactPermanentPermission(nsIPrincipal* aPrincipal,
|
|||
false);
|
||||
}
|
||||
|
||||
nsresult PermissionManager::LegacyTestPermissionFromURI(
|
||||
nsIURI* aURI, const OriginAttributes* aOriginAttributes,
|
||||
const nsACString& aType, uint32_t* aPermission) {
|
||||
return CommonTestPermission(aURI, aOriginAttributes, -1, aType, aPermission,
|
||||
nsIPermissionManager::UNKNOWN_ACTION, false,
|
||||
false, true);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
PermissionManager::TestPermissionFromPrincipal(nsIPrincipal* aPrincipal,
|
||||
const nsACString& aType,
|
||||
|
|
|
@ -114,7 +114,7 @@ class PermissionManager final : public nsIPermissionManager,
|
|||
PermissionKey() = delete;
|
||||
|
||||
// Dtor shouldn't be used outside of the class.
|
||||
~PermissionKey(){};
|
||||
~PermissionKey() {};
|
||||
};
|
||||
|
||||
class PermissionHashKey : public nsRefPtrHashKey<PermissionKey> {
|
||||
|
@ -193,10 +193,6 @@ class PermissionManager final : public nsIPermissionManager,
|
|||
const nsACString& aType,
|
||||
uint32_t* aPermission);
|
||||
|
||||
nsresult LegacyTestPermissionFromURI(
|
||||
nsIURI* aURI, const OriginAttributes* aOriginAttributes,
|
||||
const nsACString& aType, uint32_t* aPermission);
|
||||
|
||||
nsresult RemovePermissionsWithAttributes(OriginAttributesPattern& aAttrs);
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче