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

Unified Diff: ipc/handle_attachment_win.h

Issue 1206093002: Update ChannelReader to use AttachmentBroker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@attachment_broker3_listener
Patch Set: Add an optimization to immediately dispatch messages after translation. Created 5 years, 5 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/handle_attachment_win.h
diff --git a/ipc/handle_attachment_win.h b/ipc/handle_attachment_win.h
index 5b7528216feb310ce336cba49b5f44767c83e5b8..d7fe678d965879a10d89c9529cad1e940995d256 100644
--- a/ipc/handle_attachment_win.h
+++ b/ipc/handle_attachment_win.h
@@ -33,8 +33,10 @@ class IPC_EXPORT HandleAttachmentWin : public BrokerableAttachment {
explicit HandleAttachmentWin(const HANDLE& handle);
explicit HandleAttachmentWin(const WireFormat& wire_format);
+ explicit HandleAttachmentWin(const BrokerableAttachment::AttachmentId& id);
BrokerableType GetBrokerableType() const override;
+ void PopulateWithAttachment(const BrokerableAttachment* attachment) override;
// Returns the wire format of this attachment.
WireFormat GetWireFormat(const base::ProcessId& destination) const;

Powered by Google App Engine
This is Rietveld 408576698