Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1929)

Unified Diff: ipc/attachment_broker.h

Issue 1979533003: Fix an attachment broker race condition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ipc/attachment_broker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/attachment_broker.h
diff --git a/ipc/attachment_broker.h b/ipc/attachment_broker.h
index 70383edf71368737164e2fbcd0415ed8bcb0f945..a106e297ef3764fb09b66fae5098e19542fa258e 100644
--- a/ipc/attachment_broker.h
+++ b/ipc/attachment_broker.h
@@ -107,6 +107,10 @@ class IPC_EXPORT AttachmentBroker : public Listener {
virtual void RegisterBrokerCommunicationChannel(Endpoint* endpoint);
virtual void DeregisterBrokerCommunicationChannel(Endpoint* endpoint);
+ // Informs the attachment broker that a channel endpoint has received its
+ // peer's PID.
+ virtual void ReceivedPeerPid(base::ProcessId peer_pid);
+
// True if and only if this broker is privileged.
virtual bool IsPrivilegedBroker();
« no previous file with comments | « no previous file | ipc/attachment_broker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698