OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 part of vmservice; | 5 part of vmservice; |
6 | 6 |
7 // These must be kept in sync with runtime/vm/service.cc. | 7 // These must be kept in sync with runtime/vm/service.cc. |
8 class Constants { | 8 class Constants { |
| 9 static const int SERVICE_EXIT_MESSAGE_ID = 0; |
9 static const int ISOLATE_STARTUP_MESSAGE_ID = 1; | 10 static const int ISOLATE_STARTUP_MESSAGE_ID = 1; |
10 static const int ISOLATE_SHUTDOWN_MESSAGE_ID = 2; | 11 static const int ISOLATE_SHUTDOWN_MESSAGE_ID = 2; |
11 | 12 |
12 // Event family ids. | 13 // Event family ids. |
13 static const int EVENT_FAMILY_DEBUG = 0; | 14 static const int EVENT_FAMILY_DEBUG = 0; |
14 static const int EVENT_FAMILY_GC = 1; | 15 static const int EVENT_FAMILY_GC = 1; |
15 | 16 |
16 // Event family masks. | 17 // Event family masks. |
17 static const int EVENT_FAMILY_DEBUG_MASK = (1 << EVENT_FAMILY_DEBUG); | 18 static const int EVENT_FAMILY_DEBUG_MASK = (1 << EVENT_FAMILY_DEBUG); |
18 static const int EVENT_FAMILY_DEBUG_GC = (1 << EVENT_FAMILY_GC); | 19 static const int EVENT_FAMILY_DEBUG_GC = (1 << EVENT_FAMILY_GC); |
19 } | 20 } |
OLD | NEW |