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

Unified Diff: runtime/vm/port.h

Issue 1189543003: Ports page for isolates (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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
Index: runtime/vm/port.h
diff --git a/runtime/vm/port.h b/runtime/vm/port.h
index f62ac8bd6eefbc933bd009870a252512c867dd17..9ec7e7bfb96e9c1d31b3c051dd390c245fa7eba1 100644
--- a/runtime/vm/port.h
+++ b/runtime/vm/port.h
@@ -8,6 +8,7 @@
#include "include/dart_api.h"
#include "vm/allocation.h"
#include "vm/globals.h"
+#include "vm/json_stream.h"
#include "vm/random.h"
namespace dart {
@@ -18,7 +19,7 @@ class MessageHandler;
class Mutex;
class PortMapTestPeer;
-class PortMap: public AllStatic {
+class PortMap : public AllStatic {
public:
enum PortState {
kNewPort = 0, // a newly allocated port
@@ -55,6 +56,9 @@ class PortMap: public AllStatic {
static void InitOnce();
+ static void PrintPortsForMessageHandler(MessageHandler* handler,
+ JSONStream* stream);
+
private:
friend class dart::PortMapTestPeer;

Powered by Google App Engine
This is Rietveld 408576698