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 #ifndef BASE_MESSAGE_LOOP_INCOMING_TASK_QUEUE_H_ | 5 #ifndef BASE_MESSAGE_LOOP_INCOMING_TASK_QUEUE_H_ |
6 #define BASE_MESSAGE_LOOP_INCOMING_TASK_QUEUE_H_ | 6 #define BASE_MESSAGE_LOOP_INCOMING_TASK_QUEUE_H_ |
7 | 7 |
8 #include "base/base_export.h" | 8 #include "base/base_export.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
10 #include "base/pending_task.h" | 11 #include "base/pending_task.h" |
11 #include "base/synchronization/lock.h" | 12 #include "base/synchronization/lock.h" |
12 #include "base/time/time.h" | 13 #include "base/time/time.h" |
13 | 14 |
14 namespace base { | 15 namespace base { |
15 | 16 |
16 class MessageLoop; | 17 class MessageLoop; |
17 class WaitableEvent; | 18 class WaitableEvent; |
18 | 19 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 // False until StartScheduling() is called. | 103 // False until StartScheduling() is called. |
103 bool is_ready_for_scheduling_; | 104 bool is_ready_for_scheduling_; |
104 | 105 |
105 DISALLOW_COPY_AND_ASSIGN(IncomingTaskQueue); | 106 DISALLOW_COPY_AND_ASSIGN(IncomingTaskQueue); |
106 }; | 107 }; |
107 | 108 |
108 } // namespace internal | 109 } // namespace internal |
109 } // namespace base | 110 } // namespace base |
110 | 111 |
111 #endif // BASE_MESSAGE_LOOP_INCOMING_TASK_QUEUE_H_ | 112 #endif // BASE_MESSAGE_LOOP_INCOMING_TASK_QUEUE_H_ |
OLD | NEW |