OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 #include "bin/dbg_connection.h" | 5 #include "bin/dbg_connection.h" |
6 #include "bin/dbg_message.h" | 6 #include "bin/dbg_message.h" |
7 #include "bin/dartutils.h" | 7 #include "bin/dartutils.h" |
| 8 #include "bin/lockers.h" |
8 #include "bin/thread.h" | 9 #include "bin/thread.h" |
9 #include "bin/utils.h" | 10 #include "bin/utils.h" |
10 | 11 |
11 #include "platform/globals.h" | 12 #include "platform/globals.h" |
12 #include "platform/json.h" | 13 #include "platform/json.h" |
13 #include "platform/thread.h" | |
14 #include "platform/utils.h" | 14 #include "platform/utils.h" |
15 | 15 |
16 #include "include/dart_api.h" | 16 #include "include/dart_api.h" |
17 | 17 |
18 | 18 |
19 namespace dart { | 19 namespace dart { |
20 namespace bin { | 20 namespace bin { |
21 | 21 |
22 bool MessageParser::IsValidMessage() const { | 22 bool MessageParser::IsValidMessage() const { |
23 if (buf_length_ == 0) { | 23 if (buf_length_ == 0) { |
(...skipping 1387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1411 } else { | 1411 } else { |
1412 ASSERT(kind == kShutdown); | 1412 ASSERT(kind == kShutdown); |
1413 RemoveIsolateMsgQueue(isolate_id); | 1413 RemoveIsolateMsgQueue(isolate_id); |
1414 } | 1414 } |
1415 } | 1415 } |
1416 Dart_ExitScope(); | 1416 Dart_ExitScope(); |
1417 } | 1417 } |
1418 | 1418 |
1419 } // namespace bin | 1419 } // namespace bin |
1420 } // namespace dart | 1420 } // namespace dart |
OLD | NEW |