| OLD | NEW | 
|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "build/build_config.h" | 5 #include "build/build_config.h" | 
| 6 #include "ipc/ipc_channel.h" | 6 #include "ipc/ipc_channel.h" | 
| 7 #include "ipc/ipc_channel_mojo.h" | 7 #include "ipc/ipc_channel_mojo.h" | 
| 8 #include "mojo/public/cpp/system/message_pipe.h" | 8 #include "mojo/public/cpp/system/message_pipe.h" | 
| 9 | 9 | 
| 10 namespace IPC { | 10 namespace IPC { | 
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 73   handle1->mojo_handle = message_pipe.handle1.release(); | 73   handle1->mojo_handle = message_pipe.handle1.release(); | 
| 74 } | 74 } | 
| 75 | 75 | 
| 76 Channel::~Channel() { | 76 Channel::~Channel() { | 
| 77 } | 77 } | 
| 78 | 78 | 
| 79 Channel::AssociatedInterfaceSupport* Channel::GetAssociatedInterfaceSupport() { | 79 Channel::AssociatedInterfaceSupport* Channel::GetAssociatedInterfaceSupport() { | 
| 80   return nullptr; | 80   return nullptr; | 
| 81 } | 81 } | 
| 82 | 82 | 
|  | 83 bool Channel::ConnectPaused() { | 
|  | 84   NOTREACHED(); | 
|  | 85   return false; | 
|  | 86 } | 
|  | 87 | 
|  | 88 void Channel::Unpause(bool flush) { NOTREACHED(); } | 
|  | 89 | 
|  | 90 void Channel::Flush() { NOTREACHED(); } | 
|  | 91 | 
| 83 bool Channel::IsSendThreadSafe() const { | 92 bool Channel::IsSendThreadSafe() const { | 
| 84   return false; | 93   return false; | 
| 85 } | 94 } | 
| 86 | 95 | 
| 87 void Channel::OnSetAttachmentBrokerEndpoint() { | 96 void Channel::OnSetAttachmentBrokerEndpoint() { | 
| 88   CHECK(!did_start_connect_); | 97   CHECK(!did_start_connect_); | 
| 89 } | 98 } | 
| 90 | 99 | 
| 91 void Channel::WillConnect() { | 100 void Channel::WillConnect() { | 
| 92   did_start_connect_ = true; | 101   did_start_connect_ = true; | 
| 93 } | 102 } | 
| 94 | 103 | 
| 95 }  // namespace IPC | 104 }  // namespace IPC | 
| 96 | 105 | 
| OLD | NEW | 
|---|