| 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_RUN_LOOP_H_ | 5 #ifndef BASE_RUN_LOOP_H_ |
| 6 #define BASE_RUN_LOOP_H_ | 6 #define BASE_RUN_LOOP_H_ |
| 7 | 7 |
| 8 #include "base/base_export.h" | 8 #include "base/base_export.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/macros.h" |
| 10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 11 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 13 #include "build/build_config.h" |
| 12 | 14 |
| 13 namespace base { | 15 namespace base { |
| 14 #if defined(OS_ANDROID) | 16 #if defined(OS_ANDROID) |
| 15 class MessagePumpForUI; | 17 class MessagePumpForUI; |
| 16 #endif | 18 #endif |
| 17 | 19 |
| 18 #if defined(OS_WIN) | 20 #if defined(OS_WIN) |
| 19 class MessagePumpDispatcher; | 21 class MessagePumpDispatcher; |
| 20 #endif | 22 #endif |
| 21 | 23 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 | 112 |
| 111 // WeakPtrFactory for QuitClosure safety. | 113 // WeakPtrFactory for QuitClosure safety. |
| 112 base::WeakPtrFactory<RunLoop> weak_factory_; | 114 base::WeakPtrFactory<RunLoop> weak_factory_; |
| 113 | 115 |
| 114 DISALLOW_COPY_AND_ASSIGN(RunLoop); | 116 DISALLOW_COPY_AND_ASSIGN(RunLoop); |
| 115 }; | 117 }; |
| 116 | 118 |
| 117 } // namespace base | 119 } // namespace base |
| 118 | 120 |
| 119 #endif // BASE_RUN_LOOP_H_ | 121 #endif // BASE_RUN_LOOP_H_ |
| OLD | NEW |