OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013, 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 #include "config.h" |
| 6 |
| 7 #include "bindings/core/dart/DartService.h" |
| 8 #include "bindings/core/dart/DartUtilities.h" |
| 9 |
| 10 #include "bin/vmservice_dartium.h" |
| 11 |
| 12 namespace blink { |
| 13 |
| 14 void DartService::Bootstrap() |
| 15 { |
| 16 dart::bin::VmServiceServer::Bootstrap(); |
| 17 } |
| 18 |
| 19 |
| 20 Dart_Isolate DartService::CreateIsolate() |
| 21 { |
| 22 const uint8_t* snapshotBuffer = DartUtilities::isolateSnapshot(); |
| 23 return dart::bin::VmServiceServer::CreateIsolate(snapshotBuffer); |
| 24 } |
| 25 |
| 26 |
| 27 const char* DartService::GetServerIP() |
| 28 { |
| 29 return dart::bin::VmServiceServer::GetServerIP(); |
| 30 } |
| 31 |
| 32 |
| 33 intptr_t DartService::GetServerPort() |
| 34 { |
| 35 return dart::bin::VmServiceServer::GetServerPort(); |
| 36 } |
| 37 |
| 38 } |
OLD | NEW |