Index: ipc/brokerable_attachment.cc |
diff --git a/ipc/brokerable_attachment.cc b/ipc/brokerable_attachment.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a0746e122b24f759618a0c154493ff7c4722584f |
--- /dev/null |
+++ b/ipc/brokerable_attachment.cc |
@@ -0,0 +1,34 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "ipc/brokerable_attachment.h" |
+ |
+#include <stddef.h> |
+ |
+#include "build/build_config.h" |
+ |
+namespace IPC { |
+ |
+// BrokerableAttachment::BrokerableAttachment ---------------------------------- |
+ |
+BrokerableAttachment::BrokerableAttachment() = default; |
+ |
+BrokerableAttachment::~BrokerableAttachment() = default; |
+ |
+bool BrokerableAttachment::NeedsBrokering() const { |
+ return GetBrokerableType() == PLACEHOLDER; |
+} |
+ |
+BrokerableAttachment::Type BrokerableAttachment::GetType() const { |
+ return TYPE_BROKERABLE_ATTACHMENT; |
+} |
+ |
+#if defined(OS_POSIX) |
+base::PlatformFile BrokerableAttachment::TakePlatformFile() { |
+ NOTREACHED(); |
+ return base::PlatformFile(); |
+} |
+#endif // OS_POSIX |
+ |
+} // namespace IPC |