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 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/debug/alias.h" | 11 #include "base/debug/alias.h" |
12 #include "base/debug/trace_event.h" | 12 #include "base/debug/trace_event.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/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/message_loop/message_loop_proxy_impl.h" | 16 #include "base/message_loop/message_loop_proxy_impl.h" |
17 #include "base/message_pump_default.h" | 17 #include "base/message_loop/message_pump_default.h" |
18 #include "base/metrics/histogram.h" | 18 #include "base/metrics/histogram.h" |
19 #include "base/metrics/statistics_recorder.h" | 19 #include "base/metrics/statistics_recorder.h" |
20 #include "base/run_loop.h" | 20 #include "base/run_loop.h" |
21 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" | 21 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" |
22 #include "base/thread_task_runner_handle.h" | 22 #include "base/thread_task_runner_handle.h" |
23 #include "base/threading/thread_local.h" | 23 #include "base/threading/thread_local.h" |
24 #include "base/time.h" | 24 #include "base/time.h" |
25 #include "base/tracked_objects.h" | 25 #include "base/tracked_objects.h" |
26 | 26 |
27 #if defined(OS_MACOSX) | 27 #if defined(OS_MACOSX) |
28 #include "base/message_pump_mac.h" | 28 #include "base/message_loop/message_pump_mac.h" |
29 #endif | 29 #endif |
30 #if defined(OS_POSIX) && !defined(OS_IOS) | 30 #if defined(OS_POSIX) && !defined(OS_IOS) |
31 #include "base/message_pump_libevent.h" | 31 #include "base/message_loop/message_pump_libevent.h" |
32 #endif | 32 #endif |
33 #if defined(OS_ANDROID) | 33 #if defined(OS_ANDROID) |
34 #include "base/message_pump_android.h" | 34 #include "base/message_loop/message_pump_android.h" |
35 #endif | 35 #endif |
36 | 36 |
37 #if defined(TOOLKIT_GTK) | 37 #if defined(TOOLKIT_GTK) |
38 #include <gdk/gdk.h> | 38 #include <gdk/gdk.h> |
39 #include <gdk/gdkx.h> | 39 #include <gdk/gdkx.h> |
40 #endif | 40 #endif |
41 | 41 |
42 namespace base { | 42 namespace base { |
43 | 43 |
44 namespace { | 44 namespace { |
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
825 fd, | 825 fd, |
826 persistent, | 826 persistent, |
827 mode, | 827 mode, |
828 controller, | 828 controller, |
829 delegate); | 829 delegate); |
830 } | 830 } |
831 | 831 |
832 #endif | 832 #endif |
833 | 833 |
834 } // namespace base | 834 } // namespace base |
OLD | NEW |