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

Unified Diff: runtime/vm/service.h

Issue 979823003: Major rework of vm service events. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/message_handler.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service.h
diff --git a/runtime/vm/service.h b/runtime/vm/service.h
index 2a9078f3bff9905c2ffa9a4afb42d3667c133b4b..e3640d4fb4c89fd1518623b5bf807a843b048a92 100644
--- a/runtime/vm/service.h
+++ b/runtime/vm/service.h
@@ -13,7 +13,6 @@
namespace dart {
class Array;
-class DebuggerEvent;
class EmbedderServiceHandler;
class GCEvent;
class Instance;
@@ -21,6 +20,7 @@ class Isolate;
class JSONStream;
class Object;
class RawInstance;
+class ServiceEvent;
class String;
class Service : public AllStatic {
@@ -33,10 +33,11 @@ class Service : public AllStatic {
static bool EventMaskHas(uint32_t mask);
static void SetEventMask(uint32_t mask);
+ static bool NeedsEvents();
static bool NeedsDebuggerEvents();
static bool NeedsGCEvents();
- static void HandleDebuggerEvent(DebuggerEvent* event);
+ static void HandleEvent(ServiceEvent* event);
static void HandleGCEvent(GCEvent* event);
static void RegisterIsolateEmbedderCallback(
« no previous file with comments | « runtime/vm/message_handler.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698