Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(446)

Side by Side Diff: runtime/vm/service/constants.dart

Issue 1030013002: Shutdown the service isolate when shutting down the VM (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698