| 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 SERVICE_EXIT_MESSAGE_ID = 0; |
| 10 static const int ISOLATE_STARTUP_MESSAGE_ID = 1; | 10 static const int ISOLATE_STARTUP_MESSAGE_ID = 1; |
| 11 static const int ISOLATE_SHUTDOWN_MESSAGE_ID = 2; | 11 static const int ISOLATE_SHUTDOWN_MESSAGE_ID = 2; |
| 12 | |
| 13 // Event family ids. | |
| 14 static const int EVENT_FAMILY_DEBUG = 0; | |
| 15 static const int EVENT_FAMILY_GC = 1; | |
| 16 | |
| 17 // Event family masks. | |
| 18 static const int EVENT_FAMILY_DEBUG_MASK = (1 << EVENT_FAMILY_DEBUG); | |
| 19 static const int EVENT_FAMILY_DEBUG_GC = (1 << EVENT_FAMILY_GC); | |
| 20 } | 12 } |
| OLD | NEW |