| 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 BIN_VMSERVICE_IMPL_H_ | 5 #ifndef BIN_VMSERVICE_IMPL_H_ |
| 6 #define BIN_VMSERVICE_IMPL_H_ | 6 #define BIN_VMSERVICE_IMPL_H_ |
| 7 | 7 |
| 8 #include "bin/vmservice.h" | 8 #include "bin/vmservice.h" |
| 9 | 9 |
| 10 #include "platform/globals.h" | 10 #include "platform/globals.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 private: | 22 private: |
| 23 static bool _Start(const char *server_ip, intptr_t server_port); | 23 static bool _Start(const char *server_ip, intptr_t server_port); |
| 24 static Dart_Handle GetSource(const char* name); | 24 static Dart_Handle GetSource(const char* name); |
| 25 static Dart_Handle LoadScript(const char* name); | 25 static Dart_Handle LoadScript(const char* name); |
| 26 static Dart_Handle LoadSource(Dart_Handle library, const char* name); | 26 static Dart_Handle LoadSource(Dart_Handle library, const char* name); |
| 27 static Dart_Handle LoadResources(Dart_Handle library); | 27 static Dart_Handle LoadResources(Dart_Handle library); |
| 28 static Dart_Handle LoadResource(Dart_Handle library, const char* name, | 28 static Dart_Handle LoadResource(Dart_Handle library, const char* name, |
| 29 const char* prefix); | 29 const char* prefix); |
| 30 static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag, Dart_Handle library, | 30 static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag, Dart_Handle library, |
| 31 Dart_Handle url); | 31 Dart_Handle url); |
| 32 |
| 33 friend void TriggerResourceLoad(Dart_NativeArguments args); |
| 34 |
| 32 static void ThreadMain(uword parameters); | 35 static void ThreadMain(uword parameters); |
| 33 static const char* error_msg_; | 36 static const char* error_msg_; |
| 34 DISALLOW_ALLOCATION(); | 37 DISALLOW_ALLOCATION(); |
| 35 DISALLOW_IMPLICIT_CONSTRUCTORS(VmService); | 38 DISALLOW_IMPLICIT_CONSTRUCTORS(VmService); |
| 36 }; | 39 }; |
| 37 | 40 |
| 38 | 41 |
| 39 } // namespace bin | 42 } // namespace bin |
| 40 } // namespace dart | 43 } // namespace dart |
| 41 | 44 |
| 42 #endif // BIN_VMSERVICE_IMPL_H_ | 45 #endif // BIN_VMSERVICE_IMPL_H_ |
| OLD | NEW |