summaryrefslogtreecommitdiffstats
path: root/dom/ipc/ContentChild.cpp
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-02-06 16:03:39 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-02-06 16:03:39 -0500
commit5483f807c2663be8c63caf8d59ee151b3ef499d3 (patch)
tree13b912637e69511529d15676a905e7fe0ef2d169 /dom/ipc/ContentChild.cpp
parente80e4595b9034fb06592c083c80feb7613ff9518 (diff)
downloadUXP-5483f807c2663be8c63caf8d59ee151b3ef499d3.tar
UXP-5483f807c2663be8c63caf8d59ee151b3ef499d3.tar.gz
UXP-5483f807c2663be8c63caf8d59ee151b3ef499d3.tar.lz
UXP-5483f807c2663be8c63caf8d59ee151b3ef499d3.tar.xz
UXP-5483f807c2663be8c63caf8d59ee151b3ef499d3.zip
Issue #1390 - Get rid of the Presentation API
Diffstat (limited to 'dom/ipc/ContentChild.cpp')
-rw-r--r--dom/ipc/ContentChild.cpp45
1 files changed, 0 insertions, 45 deletions
diff --git a/dom/ipc/ContentChild.cpp b/dom/ipc/ContentChild.cpp
index fdf0fcf3e..41856eef8 100644
--- a/dom/ipc/ContentChild.cpp
+++ b/dom/ipc/ContentChild.cpp
@@ -150,8 +150,6 @@
#endif
#include "mozilla/dom/File.h"
-#include "mozilla/dom/PPresentationChild.h"
-#include "mozilla/dom/PresentationIPCService.h"
#include "mozilla/ipc/InputStreamUtils.h"
#ifdef MOZ_WEBSPEECH
@@ -1417,20 +1415,6 @@ ContentChild::SendPBlobConstructor(PBlobChild* aActor,
return PContentChild::SendPBlobConstructor(aActor, aParams);
}
-PPresentationChild*
-ContentChild::AllocPPresentationChild()
-{
- MOZ_CRASH("We should never be manually allocating PPresentationChild actors");
- return nullptr;
-}
-
-bool
-ContentChild::DeallocPPresentationChild(PPresentationChild* aActor)
-{
- delete aActor;
- return true;
-}
-
PFlyWebPublishedServerChild*
ContentChild::AllocPFlyWebPublishedServerChild(const nsString& name,
const FlyWebPublishOptions& params)
@@ -1448,35 +1432,6 @@ ContentChild::DeallocPFlyWebPublishedServerChild(PFlyWebPublishedServerChild* aA
}
bool
-ContentChild::RecvNotifyPresentationReceiverLaunched(PBrowserChild* aIframe,
- const nsString& aSessionId)
-{
- nsCOMPtr<nsIDocShell> docShell =
- do_GetInterface(static_cast<TabChild*>(aIframe)->WebNavigation());
- NS_WARNING_ASSERTION(docShell, "WebNavigation failed");
-
- nsCOMPtr<nsIPresentationService> service =
- do_GetService(PRESENTATION_SERVICE_CONTRACTID);
- NS_WARNING_ASSERTION(service, "presentation service is missing");
-
- Unused << NS_WARN_IF(NS_FAILED(static_cast<PresentationIPCService*>(service.get())->MonitorResponderLoading(aSessionId, docShell)));
-
- return true;
-}
-
-bool
-ContentChild::RecvNotifyPresentationReceiverCleanUp(const nsString& aSessionId)
-{
- nsCOMPtr<nsIPresentationService> service =
- do_GetService(PRESENTATION_SERVICE_CONTRACTID);
- NS_WARNING_ASSERTION(service, "presentation service is missing");
-
- Unused << NS_WARN_IF(NS_FAILED(service->UntrackSessionInfo(aSessionId, nsIPresentationService::ROLE_RECEIVER)));
-
- return true;
-}
-
-bool
ContentChild::RecvNotifyEmptyHTTPCache()
{
MOZ_ASSERT(NS_IsMainThread());