| 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 #ifndef BASE_MESSAGE_LOOP_H_ | 5 #ifndef BASE_MESSAGE_LOOP_H_ |
| 6 #define BASE_MESSAGE_LOOP_H_ | 6 #define BASE_MESSAGE_LOOP_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 // really just eliminate. | 27 // really just eliminate. |
| 28 #include "base/message_pump_win.h" | 28 #include "base/message_pump_win.h" |
| 29 #elif defined(OS_IOS) | 29 #elif defined(OS_IOS) |
| 30 #include "base/message_pump_io_ios.h" | 30 #include "base/message_pump_io_ios.h" |
| 31 #elif defined(OS_POSIX) | 31 #elif defined(OS_POSIX) |
| 32 #include "base/message_pump_libevent.h" | 32 #include "base/message_pump_libevent.h" |
| 33 #if !defined(OS_MACOSX) && !defined(OS_ANDROID) | 33 #if !defined(OS_MACOSX) && !defined(OS_ANDROID) |
| 34 | 34 |
| 35 #if defined(USE_AURA) && defined(USE_X11) && !defined(OS_NACL) | 35 #if defined(USE_AURA) && defined(USE_X11) && !defined(OS_NACL) |
| 36 #include "base/message_pump_aurax11.h" | 36 #include "base/message_pump_aurax11.h" |
| 37 #elif defined(USE_MESSAGEPUMP_LINUX) && !defined(OS_NACL) | 37 #elif defined(USE_OZONE) && !defined(OS_NACL) |
| 38 #include "base/message_pump_linux.h" | 38 #include "base/message_pump_ozone.h" |
| 39 #else | 39 #else |
| 40 #include "base/message_pump_gtk.h" | 40 #include "base/message_pump_gtk.h" |
| 41 #endif | 41 #endif |
| 42 | 42 |
| 43 #endif | 43 #endif |
| 44 #endif | 44 #endif |
| 45 | 45 |
| 46 namespace base { | 46 namespace base { |
| 47 class HistogramBase; | 47 class HistogramBase; |
| 48 class MessageLoopLockTest; | 48 class MessageLoopLockTest; |
| (...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 730 | 730 |
| 731 } // namespace base | 731 } // namespace base |
| 732 | 732 |
| 733 // TODO(brettw) remove this when all users are updated to explicitly use the | 733 // TODO(brettw) remove this when all users are updated to explicitly use the |
| 734 // namespace | 734 // namespace |
| 735 using base::MessageLoop; | 735 using base::MessageLoop; |
| 736 using base::MessageLoopForIO; | 736 using base::MessageLoopForIO; |
| 737 using base::MessageLoopForUI; | 737 using base::MessageLoopForUI; |
| 738 | 738 |
| 739 #endif // BASE_MESSAGE_LOOP_H_ | 739 #endif // BASE_MESSAGE_LOOP_H_ |
| OLD | NEW |