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

Side by Side Diff: runtime/vm/service_event.h

Issue 1398823002: We can now name the current VM using the service protocol. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: more Created 5 years, 2 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
« no previous file with comments | « runtime/vm/service/service.md ('k') | runtime/vm/service_event.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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_SERVICE_EVENT_H_ 5 #ifndef VM_SERVICE_EVENT_H_
6 #define VM_SERVICE_EVENT_H_ 6 #define VM_SERVICE_EVENT_H_
7 7
8 #include "vm/debugger.h" 8 #include "vm/debugger.h"
9 9
10 class DebuggerEvent; 10 class DebuggerEvent;
11 11
12 namespace dart { 12 namespace dart {
13 13
14 class ServiceEvent { 14 class ServiceEvent {
15 public: 15 public:
16 enum EventKind { 16 enum EventKind {
17 kVMUpdate, // VM identity information has changed
18
17 kIsolateStart, // New isolate has started 19 kIsolateStart, // New isolate has started
18 kIsolateRunnable, // Isolate is ready to run 20 kIsolateRunnable, // Isolate is ready to run
19 kIsolateExit, // Isolate has exited 21 kIsolateExit, // Isolate has exited
20 kIsolateUpdate, // Isolate identity information has changed 22 kIsolateUpdate, // Isolate identity information has changed
21 23
22 kPauseStart, // --pause-isolates-on-start 24 kPauseStart, // --pause-isolates-on-start
23 kPauseExit, // --pause-isolates-on-exit 25 kPauseExit, // --pause-isolates-on-exit
24 kPauseBreakpoint, 26 kPauseBreakpoint,
25 kPauseInterrupted, 27 kPauseInterrupted,
26 kPauseException, 28 kPauseException,
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 const Heap::GCStats* gc_stats_; 175 const Heap::GCStats* gc_stats_;
174 const uint8_t* bytes_; 176 const uint8_t* bytes_;
175 intptr_t bytes_length_; 177 intptr_t bytes_length_;
176 LogRecord log_record_; 178 LogRecord log_record_;
177 int64_t timestamp_; 179 int64_t timestamp_;
178 }; 180 };
179 181
180 } // namespace dart 182 } // namespace dart
181 183
182 #endif // VM_SERVICE_EVENT_H_ 184 #endif // VM_SERVICE_EVENT_H_
OLDNEW
« no previous file with comments | « runtime/vm/service/service.md ('k') | runtime/vm/service_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698