| 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;
|
|
|
|
|