| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_MESSAGE_HANDLER_H_ | 5 #ifndef VM_MESSAGE_HANDLER_H_ |
| 6 #define VM_MESSAGE_HANDLER_H_ | 6 #define VM_MESSAGE_HANDLER_H_ |
| 7 | 7 |
| 8 #include "vm/isolate.h" | 8 #include "vm/isolate.h" |
| 9 #include "vm/message.h" | 9 #include "vm/message.h" |
| 10 #include "vm/thread.h" | 10 #include "vm/os_thread.h" |
| 11 #include "vm/thread_pool.h" | 11 #include "vm/thread_pool.h" |
| 12 | 12 |
| 13 namespace dart { | 13 namespace dart { |
| 14 | 14 |
| 15 // A MessageHandler is an entity capable of accepting messages. | 15 // A MessageHandler is an entity capable of accepting messages. |
| 16 class MessageHandler { | 16 class MessageHandler { |
| 17 protected: | 17 protected: |
| 18 MessageHandler(); | 18 MessageHandler(); |
| 19 | 19 |
| 20 public: | 20 public: |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 StartCallback start_callback_; | 173 StartCallback start_callback_; |
| 174 EndCallback end_callback_; | 174 EndCallback end_callback_; |
| 175 CallbackData callback_data_; | 175 CallbackData callback_data_; |
| 176 | 176 |
| 177 DISALLOW_COPY_AND_ASSIGN(MessageHandler); | 177 DISALLOW_COPY_AND_ASSIGN(MessageHandler); |
| 178 }; | 178 }; |
| 179 | 179 |
| 180 } // namespace dart | 180 } // namespace dart |
| 181 | 181 |
| 182 #endif // VM_MESSAGE_HANDLER_H_ | 182 #endif // VM_MESSAGE_HANDLER_H_ |
| OLD | NEW |