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

Unified Diff: ipc/handle_attachment_win.h

Issue 1205713002: Make attachment broker a subclass of IPC::Listener. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@attachment_broker3_listener_base
Patch Set: Update copyright date. 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
« no previous file with comments | « ipc/brokerable_attachment.cc ('k') | ipc/handle_attachment_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/handle_attachment_win.h
diff --git a/ipc/handle_attachment_win.h b/ipc/handle_attachment_win.h
index 7dd898ad54be0f3440732f2038c425b11fd3424c..5b7528216feb310ce336cba49b5f44767c83e5b8 100644
--- a/ipc/handle_attachment_win.h
+++ b/ipc/handle_attachment_win.h
@@ -31,13 +31,16 @@ class IPC_EXPORT HandleAttachmentWin : public BrokerableAttachment {
AttachmentId attachment_id;
};
- HandleAttachmentWin(const HANDLE& handle);
+ explicit HandleAttachmentWin(const HANDLE& handle);
+ explicit HandleAttachmentWin(const WireFormat& wire_format);
BrokerableType GetBrokerableType() const override;
// Returns the wire format of this attachment.
WireFormat GetWireFormat(const base::ProcessId& destination) const;
+ HANDLE get_handle() const { return handle_; }
+
private:
~HandleAttachmentWin() override;
HANDLE handle_;
« no previous file with comments | « ipc/brokerable_attachment.cc ('k') | ipc/handle_attachment_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698