OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_channel.h" | 5 #include "ipc/ipc_sync_channel.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
14 #include "base/location.h" | 14 #include "base/location.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/ptr_util.h" | 17 #include "base/memory/ptr_util.h" |
| 18 #include "base/message_loop/message_loop.h" |
18 #include "base/run_loop.h" | 19 #include "base/run_loop.h" |
19 #include "base/synchronization/waitable_event.h" | 20 #include "base/synchronization/waitable_event.h" |
20 #include "base/threading/thread_local.h" | 21 #include "base/threading/thread_local.h" |
21 #include "base/threading/thread_task_runner_handle.h" | 22 #include "base/threading/thread_task_runner_handle.h" |
22 #include "base/trace_event/trace_event.h" | 23 #include "base/trace_event/trace_event.h" |
23 #include "ipc/ipc_channel_factory.h" | 24 #include "ipc/ipc_channel_factory.h" |
24 #include "ipc/ipc_logging.h" | 25 #include "ipc/ipc_logging.h" |
25 #include "ipc/ipc_message_macros.h" | 26 #include "ipc/ipc_message_macros.h" |
26 #include "ipc/ipc_sync_message.h" | 27 #include "ipc/ipc_sync_message.h" |
27 #include "mojo/public/cpp/bindings/sync_event_watcher.h" | 28 #include "mojo/public/cpp/bindings/sync_event_watcher.h" |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
707 sync_context()->GetDispatchEvent(), | 708 sync_context()->GetDispatchEvent(), |
708 base::Bind(&SyncChannel::OnDispatchEventSignaled, | 709 base::Bind(&SyncChannel::OnDispatchEventSignaled, |
709 base::Unretained(this))); | 710 base::Unretained(this))); |
710 } | 711 } |
711 | 712 |
712 void SyncChannel::OnChannelInit() { | 713 void SyncChannel::OnChannelInit() { |
713 pre_init_sync_message_filters_.clear(); | 714 pre_init_sync_message_filters_.clear(); |
714 } | 715 } |
715 | 716 |
716 } // namespace IPC | 717 } // namespace IPC |
OLD | NEW |