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

Unified Diff: ipc/attachment_broker.h

Issue 1188923003: Stub in more IPC attachment brokering functionality. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change the wireformat to use int32_t for HANDLE. Created 5 years, 6 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
Index: ipc/attachment_broker.h
diff --git a/ipc/attachment_broker.h b/ipc/attachment_broker.h
index 35a638684f7300e1a434462ff9093796e2310441..715c5e594f5b3aae776c508624a1ba7d29379729 100644
--- a/ipc/attachment_broker.h
+++ b/ipc/attachment_broker.h
@@ -34,7 +34,8 @@ class IPC_EXPORT AttachmentBroker {
// Sends |attachment| to |destination_process|. The implementation uses an
// IPC::Channel to communicate with the broker process. This may be the same
// IPC::Channel that is requesting the brokering of an attachment.
- virtual void SendAttachmentToProcess(BrokerableAttachment* attachment,
+ // Returns true on success and false otherwise.
+ virtual bool SendAttachmentToProcess(const BrokerableAttachment* attachment,
base::ProcessId destination_process) = 0;
// Returns whether the attachment was available. If the attachment was

Powered by Google App Engine
This is Rietveld 408576698