From fbdd52ea571bb591e596797f7cc745426b620a97 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 21 May 2018 13:56:28 +0200 Subject: Remove GMP, Plugin and IPC crash reporter hooks. Stubs will be removed in follow-up Tag #20. --- dom/ipc/CrashReporterParent.cpp | 45 ++--------------------------------------- 1 file changed, 2 insertions(+), 43 deletions(-) (limited to 'dom/ipc/CrashReporterParent.cpp') diff --git a/dom/ipc/CrashReporterParent.cpp b/dom/ipc/CrashReporterParent.cpp index 677b29670..75b0fccb7 100644 --- a/dom/ipc/CrashReporterParent.cpp +++ b/dom/ipc/CrashReporterParent.cpp @@ -16,48 +16,7 @@ namespace mozilla { namespace dom { -using namespace mozilla::ipc; - -void -CrashReporterParent::AnnotateCrashReport(const nsCString& key, - const nsCString& data) -{ -} - -void -CrashReporterParent::ActorDestroy(ActorDestroyReason aWhy) -{ - // Implement me! Bug 1005155 -} - -bool -CrashReporterParent::RecvAppendAppNotes(const nsCString& data) -{ - mAppNotes.Append(data); - return true; -} - -CrashReporterParent::CrashReporterParent() - : - mStartTime(::time(nullptr)) - , mInitialized(false) -{ - MOZ_COUNT_CTOR(CrashReporterParent); -} - -CrashReporterParent::~CrashReporterParent() -{ - MOZ_COUNT_DTOR(CrashReporterParent); -} - -void -CrashReporterParent::SetChildData(const NativeThreadId& tid, - const uint32_t& processType) -{ - mInitialized = true; - mMainThread = tid; - mProcessType = GeckoProcessType(processType); -} - + /*** STUB ***/ + } // namespace dom } // namespace mozilla -- cgit v1.2.3