Bug 1907466 - make some thread-safety changes for clipboard content analysis r=nika,dlp-reviewers,handyman

Differential Revision: https://phabricator.services.mozilla.com/D216608
This commit is contained in:
Greg Stoll
2024-07-19 19:49:52 +00:00
parent b45f0d53f2
commit 453e8955fc
12 changed files with 205 additions and 218 deletions

View File

@@ -1545,14 +1545,6 @@ mozilla::ipc::IPCResult ContentChild::RecvInitGMPService(
return IPC_OK();
}
mozilla::ipc::IPCResult ContentChild::RecvInitClipboardContentAnalysis(
Endpoint<PClipboardContentAnalysisChild>&& aEndpoint) {
if (!ClipboardContentAnalysisChild::Create(std::move(aEndpoint))) {
return IPC_FAIL_NO_REASON(this);
}
return IPC_OK();
}
mozilla::ipc::IPCResult ContentChild::RecvInitProfiler(
Endpoint<PProfilerChild>&& aEndpoint) {
mProfilerController = ChildProfilerController::Create(std::move(aEndpoint));