| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "base/message_loop.h" | 5 #include "base/message_loop.h" |
| 6 #include "base/ref_counted.h" |
| 7 #include "base/scoped_ptr.h" |
| 6 #include "base/thread.h" | 8 #include "base/thread.h" |
| 7 #include "ipc/ipc_channel_proxy.h" | 9 #include "ipc/ipc_channel_proxy.h" |
| 8 #include "ipc/ipc_logging.h" | 10 #include "ipc/ipc_logging.h" |
| 9 #include "ipc/ipc_message_utils.h" | 11 #include "ipc/ipc_message_utils.h" |
| 10 | 12 |
| 11 namespace IPC { | 13 namespace IPC { |
| 12 | 14 |
| 13 //------------------------------------------------------------------------------ | 15 //------------------------------------------------------------------------------ |
| 14 | 16 |
| 15 // This task ensures the message is deleted if the task is deleted without | 17 // This task ensures the message is deleted if the task is deleted without |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 int ChannelProxy::GetClientFileDescriptor() const { | 307 int ChannelProxy::GetClientFileDescriptor() const { |
| 306 Channel *channel = context_.get()->channel_; | 308 Channel *channel = context_.get()->channel_; |
| 307 DCHECK(channel); // Channel must have been created first. | 309 DCHECK(channel); // Channel must have been created first. |
| 308 return channel->GetClientFileDescriptor(); | 310 return channel->GetClientFileDescriptor(); |
| 309 } | 311 } |
| 310 #endif | 312 #endif |
| 311 | 313 |
| 312 //----------------------------------------------------------------------------- | 314 //----------------------------------------------------------------------------- |
| 313 | 315 |
| 314 } // namespace IPC | 316 } // namespace IPC |
| OLD | NEW |