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

Unified Diff: ipc/handle_attachment_win.cc

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/handle_attachment_win.h ('k') | ipc/ipc.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/handle_attachment_win.cc
diff --git a/ipc/handle_attachment_win.cc b/ipc/handle_attachment_win.cc
index 3c18828dd22f6e8c7dd1f32c21d9a92e3915e994..dfce7c232e60087d8ee92a6523c8c50001bb9867 100644
--- a/ipc/handle_attachment_win.cc
+++ b/ipc/handle_attachment_win.cc
@@ -13,6 +13,11 @@ HandleAttachmentWin::HandleAttachmentWin(const HANDLE& handle)
: handle_(handle) {
}
+HandleAttachmentWin::HandleAttachmentWin(const WireFormat& wire_format)
+ : BrokerableAttachment(wire_format.attachment_id),
+ handle_(LongToHandle(wire_format.handle)) {
+}
+
HandleAttachmentWin::~HandleAttachmentWin() {
}
« no previous file with comments | « ipc/handle_attachment_win.h ('k') | ipc/ipc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698