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_MESSAGE_PUMP_DEFAULT_H_ | 5 #ifndef BASE_MESSAGE_LOOP_MESSAGE_PUMP_DEFAULT_H_ |
6 #define BASE_MESSAGE_LOOP_MESSAGE_PUMP_DEFAULT_H_ | 6 #define BASE_MESSAGE_LOOP_MESSAGE_PUMP_DEFAULT_H_ |
7 | 7 |
8 #include "base/base_export.h" | 8 #include "base/base_export.h" |
| 9 #include "base/macros.h" |
9 #include "base/message_loop/message_pump.h" | 10 #include "base/message_loop/message_pump.h" |
10 #include "base/synchronization/waitable_event.h" | 11 #include "base/synchronization/waitable_event.h" |
11 #include "base/time/time.h" | 12 #include "base/time/time.h" |
12 | 13 |
13 namespace base { | 14 namespace base { |
14 | 15 |
15 class BASE_EXPORT MessagePumpDefault : public MessagePump { | 16 class BASE_EXPORT MessagePumpDefault : public MessagePump { |
16 public: | 17 public: |
17 MessagePumpDefault(); | 18 MessagePumpDefault(); |
18 ~MessagePumpDefault() override; | 19 ~MessagePumpDefault() override; |
(...skipping 13 matching lines...) Expand all Loading... |
32 | 33 |
33 // The time at which we should call DoDelayedWork. | 34 // The time at which we should call DoDelayedWork. |
34 TimeTicks delayed_work_time_; | 35 TimeTicks delayed_work_time_; |
35 | 36 |
36 DISALLOW_COPY_AND_ASSIGN(MessagePumpDefault); | 37 DISALLOW_COPY_AND_ASSIGN(MessagePumpDefault); |
37 }; | 38 }; |
38 | 39 |
39 } // namespace base | 40 } // namespace base |
40 | 41 |
41 #endif // BASE_MESSAGE_LOOP_MESSAGE_PUMP_DEFAULT_H_ | 42 #endif // BASE_MESSAGE_LOOP_MESSAGE_PUMP_DEFAULT_H_ |
OLD | NEW |