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

Unified Diff: ipc/ipc_mojo_handle_attachment.cc

Issue 2504063002: Revert of Remove IPC::BrokerableAttachment. (Closed)
Patch Set: Created 4 years, 1 month 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/ipc_mojo_handle_attachment.h ('k') | ipc/ipc_mojo_message_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_mojo_handle_attachment.cc
diff --git a/ipc/ipc_mojo_handle_attachment.cc b/ipc/ipc_mojo_handle_attachment.cc
index e3421c3e88bc31aa78b4d0b51427cb4948bb5d36..819a12b890ad1c3da3857f3f36923c16854576e4 100644
--- a/ipc/ipc_mojo_handle_attachment.cc
+++ b/ipc/ipc_mojo_handle_attachment.cc
@@ -18,8 +18,15 @@
}
MessageAttachment::Type MojoHandleAttachment::GetType() const {
- return Type::MOJO_HANDLE;
+ return TYPE_MOJO_HANDLE;
}
+
+#if defined(OS_POSIX)
+base::PlatformFile MojoHandleAttachment::TakePlatformFile() {
+ NOTREACHED();
+ return base::kInvalidPlatformFile;
+}
+#endif // OS_POSIX
mojo::ScopedHandle MojoHandleAttachment::TakeHandle() {
return std::move(handle_);
« no previous file with comments | « ipc/ipc_mojo_handle_attachment.h ('k') | ipc/ipc_mojo_message_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698