| 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/message.h" | 9 #include "vm/message.h" |
| 9 #include "vm/thread.h" | 10 #include "vm/thread.h" |
| 10 #include "vm/thread_pool.h" | 11 #include "vm/thread_pool.h" |
| 11 | 12 |
| 12 namespace dart { | 13 namespace dart { |
| 13 | 14 |
| 14 // A MessageHandler is an entity capable of accepting messages. | 15 // A MessageHandler is an entity capable of accepting messages. |
| 15 class MessageHandler { | 16 class MessageHandler { |
| 16 protected: | 17 protected: |
| 17 MessageHandler(); | 18 MessageHandler(); |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 StartCallback start_callback_; | 179 StartCallback start_callback_; |
| 179 EndCallback end_callback_; | 180 EndCallback end_callback_; |
| 180 CallbackData callback_data_; | 181 CallbackData callback_data_; |
| 181 | 182 |
| 182 DISALLOW_COPY_AND_ASSIGN(MessageHandler); | 183 DISALLOW_COPY_AND_ASSIGN(MessageHandler); |
| 183 }; | 184 }; |
| 184 | 185 |
| 185 } // namespace dart | 186 } // namespace dart |
| 186 | 187 |
| 187 #endif // VM_MESSAGE_HANDLER_H_ | 188 #endif // VM_MESSAGE_HANDLER_H_ |
| OLD | NEW |