| 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 #pragma once | |
| 8 | 7 |
| 9 #include "base/base_export.h" | 8 #include "base/base_export.h" |
| 10 #include "base/callback.h" | 9 #include "base/callback.h" |
| 11 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 12 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
| 13 | 12 |
| 14 namespace base { | 13 namespace base { |
| 15 #if defined(OS_ANDROID) | 14 #if defined(OS_ANDROID) |
| 16 class MessagePumpForUI; | 15 class MessagePumpForUI; |
| 17 #endif | 16 #endif |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 // Used to record that QuitWhenIdle() was called on the MessageLoop, meaning | 102 // Used to record that QuitWhenIdle() was called on the MessageLoop, meaning |
| 104 // that we should quit Run once it becomes idle. | 103 // that we should quit Run once it becomes idle. |
| 105 bool quit_when_idle_received_; | 104 bool quit_when_idle_received_; |
| 106 | 105 |
| 107 DISALLOW_COPY_AND_ASSIGN(RunLoop); | 106 DISALLOW_COPY_AND_ASSIGN(RunLoop); |
| 108 }; | 107 }; |
| 109 | 108 |
| 110 } // namespace base | 109 } // namespace base |
| 111 | 110 |
| 112 #endif // BASE_RUN_LOOP_H_ | 111 #endif // BASE_RUN_LOOP_H_ |
| OLD | NEW |