| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "ipc/ipc_sync_message_filter.h" | 5 #include "ipc/ipc_sync_message_filter.h" |
| 6 | 6 |
| 7 #include "base/location.h" |
| 7 #include "base/logging.h" | 8 #include "base/logging.h" |
| 8 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 9 #include "base/synchronization/waitable_event.h" | 10 #include "base/synchronization/waitable_event.h" |
| 10 #include "ipc/ipc_sync_message.h" | 11 #include "ipc/ipc_sync_message.h" |
| 11 | 12 |
| 12 namespace IPC { | 13 namespace IPC { |
| 13 | 14 |
| 14 SyncMessageFilter::SyncMessageFilter(base::WaitableEvent* shutdown_event) | 15 SyncMessageFilter::SyncMessageFilter(base::WaitableEvent* shutdown_event) |
| 15 : channel_(NULL), | 16 : channel_(NULL), |
| 16 listener_loop_(MessageLoop::current()), | 17 listener_loop_(MessageLoop::current()), |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 } | 119 } |
| 119 (*iter)->done_event->Signal(); | 120 (*iter)->done_event->Signal(); |
| 120 return true; | 121 return true; |
| 121 } | 122 } |
| 122 } | 123 } |
| 123 | 124 |
| 124 return false; | 125 return false; |
| 125 } | 126 } |
| 126 | 127 |
| 127 } // namespace IPC | 128 } // namespace IPC |
| OLD | NEW |