Index: mojo/system/raw_channel.cc |
diff --git a/mojo/system/raw_channel.cc b/mojo/system/raw_channel.cc |
index d19e5f7507db5ec4df1649d138107dda5a478748..80f21765fcd641a5ad8e28ef25d9e7a69ad671e6 100644 |
--- a/mojo/system/raw_channel.cc |
+++ b/mojo/system/raw_channel.cc |
@@ -150,6 +150,14 @@ void RawChannel::Shutdown() { |
// Reminder: This must be thread-safe. |
bool RawChannel::WriteMessage(scoped_ptr<MessageInTransit> message) { |
+ DCHECK(message); |
+ |
+ // TODO(vtl) |
+ if (message->has_platform_handles()) { |
+ NOTIMPLEMENTED(); |
+ return false; |
+ } |
+ |
base::AutoLock locker(write_lock_); |
if (write_stopped_) |
return false; |