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

Unified Diff: ipc/ipc_mojo_handle_attachment.cc

Issue 2494943002: Remove IPC::BrokerableAttachment. (Closed)
Patch Set: extra test output 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 819a12b890ad1c3da3857f3f36923c16854576e4..e3421c3e88bc31aa78b4d0b51427cb4948bb5d36 100644
--- a/ipc/ipc_mojo_handle_attachment.cc
+++ b/ipc/ipc_mojo_handle_attachment.cc
@@ -18,16 +18,9 @@ MojoHandleAttachment::~MojoHandleAttachment() {
}
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