Bug 1783836 - Remove dead SetOfflinePermission IPC call. r=nika

Differential Revision: https://phabricator.services.mozilla.com/D154090
This commit is contained in:
Christian Holler 2022-08-10 13:40:05 +00:00
Родитель 146a80ecff
Коммит 7d6674a2d0
3 изменённых файлов: 0 добавлений и 13 удалений

Просмотреть файл

@ -5191,11 +5191,6 @@ bool ContentParent::DeallocPWebrtcGlobalParent(PWebrtcGlobalParent* aActor) {
}
#endif
mozilla::ipc::IPCResult ContentParent::RecvSetOfflinePermission(
nsIPrincipal* aPrincipal) {
return IPC_OK();
}
void ContentParent::MaybeInvokeDragSession(BrowserParent* aParent) {
// dnd uses IPCBlob to transfer data to the content process and the IPC
// message is sent as normal priority. When sending input events with input

Просмотреть файл

@ -466,8 +466,6 @@ class ContentParent final : public PContentParent,
mozilla::ipc::IPCResult RecvNotifyTabDestroying(const TabId& aTabId,
const ContentParentId& aCpId);
mozilla::ipc::IPCResult RecvSetOfflinePermission(nsIPrincipal* principal);
mozilla::ipc::IPCResult RecvFinishShutdown();
void MaybeInvokeDragSession(BrowserParent* aParent);

Просмотреть файл

@ -1276,12 +1276,6 @@ parent:
async RequestAnonymousTemporaryFile(uint64_t aID);
/**
* Sets "offline-app" permission for the principal. Called when we hit
* a web app with the manifest attribute in <html>
*/
async SetOfflinePermission(nsIPrincipal principal);
/**
* Notifies the parent to continue shutting down after the child performs
* its shutdown tasks.