OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/message_loop.h" | 5 #include "base/message_loop/message_loop.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <memory> | 8 #include <memory> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/lazy_instance.h" | 13 #include "base/lazy_instance.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/memory/ptr_util.h" | 15 #include "base/memory/ptr_util.h" |
16 #include "base/message_loop/message_pump_default.h" | 16 #include "base/message_loop/message_pump_default.h" |
17 #include "base/metrics/histogram.h" | 17 #include "base/metrics/histogram.h" |
18 #include "base/metrics/statistics_recorder.h" | 18 #include "base/metrics/statistics_recorder.h" |
19 #include "base/run_loop.h" | 19 #include "base/run_loop.h" |
20 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" | 20 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" |
21 #include "base/thread_task_runner_handle.h" | |
22 #include "base/threading/thread_local.h" | 21 #include "base/threading/thread_local.h" |
| 22 #include "base/threading/thread_task_runner_handle.h" |
23 #include "base/time/time.h" | 23 #include "base/time/time.h" |
24 #include "base/trace_event/trace_event.h" | 24 #include "base/trace_event/trace_event.h" |
25 #include "base/tracked_objects.h" | 25 #include "base/tracked_objects.h" |
26 #include "build/build_config.h" | 26 #include "build/build_config.h" |
27 | 27 |
28 #if defined(OS_MACOSX) | 28 #if defined(OS_MACOSX) |
29 #include "base/message_loop/message_pump_mac.h" | 29 #include "base/message_loop/message_pump_mac.h" |
30 #endif | 30 #endif |
31 #if defined(OS_POSIX) && !defined(OS_IOS) | 31 #if defined(OS_POSIX) && !defined(OS_IOS) |
32 #include "base/message_loop/message_pump_libevent.h" | 32 #include "base/message_loop/message_pump_libevent.h" |
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
758 persistent, | 758 persistent, |
759 mode, | 759 mode, |
760 controller, | 760 controller, |
761 delegate); | 761 delegate); |
762 } | 762 } |
763 #endif | 763 #endif |
764 | 764 |
765 #endif // !defined(OS_NACL_SFI) | 765 #endif // !defined(OS_NACL_SFI) |
766 | 766 |
767 } // namespace base | 767 } // namespace base |
OLD | NEW |