Lines Matching defs:relay
186 MachPortRelay* relay = delegate_->GetMachPortRelay();
187 if (relay)
188 relay->AddObserver(this);
199 MachPortRelay* relay = delegate_->GetMachPortRelay();
200 if (relay)
201 relay->RemoveObserver(this);
385 // here and the relay node (the parent) will duplicate handles as needed.
495 MachPortRelay* relay = delegate_->GetMachPortRelay();
496 if (handles && !relay) {
656 // Don't try to relay an empty message.
664 DLOG(ERROR) << "Dropping invalid relay message.";
669 MachPortRelay* relay = delegate_->GetMachPortRelay();
670 if (!relay) {
671 LOG(ERROR) << "Receiving mach ports without a port relay from "
677 if (relay->port_provider()->TaskForPid(from_process) ==
759 MachPortRelay* relay = delegate_->GetMachPortRelay();
760 DCHECK(relay);
779 if (!relay->SendPortsToProcess(message.get(), remote_process_handle)) {
794 // Ensure this NodeChannel stays alive while flushing relay messages.
837 MachPortRelay* relay = delegate_->GetMachPortRelay();
838 if (relay) {
848 if (relay->port_provider()->TaskForPid(remote_process_handle) ==
859 if (!relay->SendPortsToProcess(message.get(), remote_process_handle)) {