namespace tracing {

// static
void TracedProcess::ResetTracedProcessReceiver() {
#if !defined(OS_NACL) && !defined(OS_IOS)
  tracing::TracedProcessImpl::GetInstance()->ResetTracedProcessReceiver();
#endif
}

// static
void TracedProcess::OnTracedProcessRequest(
    mojo::PendingReceiver<mojom::TracedProcess> receiver) {
#if !defined(OS_NACL) && !defined(OS_IOS)
  tracing::TracedProcessImpl::GetInstance()->OnTracedProcessRequest(
      std::move(receiver));
#endif
}

// static
void TracedProcess::EnableSystemTracingService(
    mojo::PendingRemote<mojom::SystemTracingService> remote) {
#if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_NACL) && \
    !defined(OS_IOS)
  tracing::TracedProcessImpl::GetInstance()->EnableSystemTracingService(
      std::move(remote));
#endif
}

}  // namespace tracing
