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/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 | 12 |
13 namespace base { | 13 namespace base { |
14 #if defined(OS_ANDROID) | 14 #if defined(OS_ANDROID) |
15 class MessagePumpForUI; | 15 class MessagePumpForUI; |
16 #endif | 16 #endif |
17 | 17 |
18 #if defined(OS_IOS) | 18 #if defined(OS_IOS) |
19 class MessagePumpUIApplication; | 19 class MessagePumpUIApplication; |
20 #endif | 20 #endif |
21 | 21 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 // Used to record that QuitWhenIdle() was called on the MessageLoop, meaning | 112 // Used to record that QuitWhenIdle() was called on the MessageLoop, meaning |
113 // that we should quit Run once it becomes idle. | 113 // that we should quit Run once it becomes idle. |
114 bool quit_when_idle_received_; | 114 bool quit_when_idle_received_; |
115 | 115 |
116 DISALLOW_COPY_AND_ASSIGN(RunLoop); | 116 DISALLOW_COPY_AND_ASSIGN(RunLoop); |
117 }; | 117 }; |
118 | 118 |
119 } // namespace base | 119 } // namespace base |
120 | 120 |
121 #endif // BASE_RUN_LOOP_H_ | 121 #endif // BASE_RUN_LOOP_H_ |
OLD | NEW |