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

Unified Diff: ipc/ipc_platform_file_attachment_posix.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_platform_file_attachment_posix.h ('k') | ipc/ipc_send_fds_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_platform_file_attachment_posix.cc
diff --git a/ipc/ipc_platform_file_attachment_posix.cc b/ipc/ipc_platform_file_attachment_posix.cc
index b130ab26eb7db62a4970b2a93ca4237915d7a339..7111cfa0bbb4979d7ff3eb67848c94ccc925baf5 100644
--- a/ipc/ipc_platform_file_attachment_posix.cc
+++ b/ipc/ipc_platform_file_attachment_posix.cc
@@ -20,7 +20,7 @@ PlatformFileAttachment::~PlatformFileAttachment() {
}
MessageAttachment::Type PlatformFileAttachment::GetType() const {
- return TYPE_PLATFORM_FILE;
+ return Type::PLATFORM_FILE;
}
base::PlatformFile PlatformFileAttachment::TakePlatformFile() {
@@ -30,7 +30,7 @@ base::PlatformFile PlatformFileAttachment::TakePlatformFile() {
base::PlatformFile GetPlatformFile(
scoped_refptr<MessageAttachment> attachment) {
- DCHECK_EQ(attachment->GetType(), MessageAttachment::TYPE_PLATFORM_FILE);
+ DCHECK_EQ(attachment->GetType(), MessageAttachment::Type::PLATFORM_FILE);
return static_cast<PlatformFileAttachment*>(attachment.get())->file();
}
« no previous file with comments | « ipc/ipc_platform_file_attachment_posix.h ('k') | ipc/ipc_send_fds_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698