| 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" | 6 #include "base/ref_counted.h" |
| 7 #include "base/scoped_ptr.h" | 7 #include "base/scoped_ptr.h" |
| 8 #include "base/threading/thread.h" | |
| 9 #include "ipc/ipc_channel_proxy.h" | 8 #include "ipc/ipc_channel_proxy.h" |
| 10 #include "ipc/ipc_logging.h" | 9 #include "ipc/ipc_logging.h" |
| 11 #include "ipc/ipc_message_utils.h" | 10 #include "ipc/ipc_message_utils.h" |
| 12 | 11 |
| 13 namespace IPC { | 12 namespace IPC { |
| 14 | 13 |
| 15 //------------------------------------------------------------------------------ | 14 //------------------------------------------------------------------------------ |
| 16 | 15 |
| 17 // This task ensures the message is deleted if the task is deleted without | 16 // This task ensures the message is deleted if the task is deleted without |
| 18 // having been run. | 17 // having been run. |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 Channel *channel = context_.get()->channel_.get(); | 373 Channel *channel = context_.get()->channel_.get(); |
| 375 // Channel must have been created first. | 374 // Channel must have been created first. |
| 376 DCHECK(channel) << context_.get()->channel_id_; | 375 DCHECK(channel) << context_.get()->channel_id_; |
| 377 return channel->GetClientFileDescriptor(); | 376 return channel->GetClientFileDescriptor(); |
| 378 } | 377 } |
| 379 #endif | 378 #endif |
| 380 | 379 |
| 381 //----------------------------------------------------------------------------- | 380 //----------------------------------------------------------------------------- |
| 382 | 381 |
| 383 } // namespace IPC | 382 } // namespace IPC |
| OLD | NEW |