OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef DartService_h | 5 #ifndef DartService_h |
6 #define DartService_h | 6 #define DartService_h |
7 | 7 |
8 #include <dart_api.h> | 8 #include <dart_api.h> |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 class DartService { | 12 class DartService { |
13 public: | 13 public: |
14 static void Bootstrap(); | 14 static void Bootstrap(); |
15 static Dart_Isolate CreateIsolate(); | 15 static Dart_Isolate CreateIsolate(); |
16 static const char* GetServerIP(); | 16 static const char* GetServerIP(); |
17 static intptr_t GetServerPort(); | 17 static intptr_t GetServerPort(); |
| 18 static void DecompressAssets(const uint8_t* input, unsigned inputLen, uint8_
t** output, unsigned* outputLength); |
18 }; | 19 }; |
19 | 20 |
20 } | 21 } |
21 | 22 |
22 #endif // DartService_h | 23 #endif // DartService_h |
OLD | NEW |