OLD | NEW |
(Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 #ifndef BIN_VMSERVICE_DARTIUM_H_ |
| 6 #define BIN_VMSERVICE_DARTIUM_H_ |
| 7 |
| 8 /* In order to avoid conflicts / issues with blink, no headers are included */ |
| 9 |
| 10 #include <dart_api.h> |
| 11 #include <cstddef> |
| 12 |
| 13 namespace dart { |
| 14 namespace bin { |
| 15 |
| 16 class VmServiceServer { |
| 17 public: |
| 18 static void Bootstrap(); |
| 19 static Dart_Isolate CreateIsolate(); |
| 20 |
| 21 static const char* GetServerIP(); |
| 22 static intptr_t GetServerPort(); |
| 23 |
| 24 /* DISALLOW_ALLOCATION */ |
| 25 void operator delete(void* pointer); |
| 26 private: |
| 27 void* operator new(size_t size); |
| 28 |
| 29 /* DISALLOW_IMPLICIT_CONSTRUCTORS */ |
| 30 VmServiceServer(); |
| 31 VmServiceServer(const VmServiceServer&); |
| 32 void operator=(const VmServiceServer&); |
| 33 }; |
| 34 |
| 35 } // namespace bin |
| 36 } // namespace dart |
| 37 |
| 38 #endif // BIN_VMSERVICE_DARTIUM_H_ |
OLD | NEW |