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