OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MOJO_DART_EMBEDDER_MOJO_IO_NATIVES_H_ | 5 #ifndef MOJO_DART_EMBEDDER_MOJO_IO_NATIVES_H_ |
6 #define MOJO_DART_EMBEDDER_MOJO_IO_NATIVES_H_ | 6 #define MOJO_DART_EMBEDDER_MOJO_IO_NATIVES_H_ |
7 | 7 |
8 #include "dart/runtime/include/dart_api.h" | 8 #include "mojo/public/third_party/dart/runtime/include/dart_api.h" |
9 | 9 |
10 namespace mojo { | 10 namespace mojo { |
11 namespace dart { | 11 namespace dart { |
12 | 12 |
13 Dart_NativeFunction MojoIoNativeLookup(Dart_Handle name, | 13 Dart_NativeFunction MojoIoNativeLookup(Dart_Handle name, |
14 int argument_count, | 14 int argument_count, |
15 bool* auto_setup_scope); | 15 bool* auto_setup_scope); |
16 | 16 |
17 const uint8_t* MojoIoNativeSymbol(Dart_NativeFunction nf); | 17 const uint8_t* MojoIoNativeSymbol(Dart_NativeFunction nf); |
18 | 18 |
19 } // namespace dart | 19 } // namespace dart |
20 } // namespace mojo | 20 } // namespace mojo |
21 | 21 |
22 #endif // MOJO_DART_EMBEDDER_MOJO_IO_NATIVES_H_ | 22 #endif // MOJO_DART_EMBEDDER_MOJO_IO_NATIVES_H_ |
OLD | NEW |