OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef MOJO_DART_DART_SNAPSHOTTER_LOADER_H_ |
| 6 #define MOJO_DART_DART_SNAPSHOTTER_LOADER_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/files/file_path.h" |
| 11 #include "dart/runtime/include/dart_api.h" |
| 12 |
| 13 void InitLoader(const base::FilePath& package_root); |
| 14 Dart_Handle HandleLibraryTag(Dart_LibraryTag tag, |
| 15 Dart_Handle library, |
| 16 Dart_Handle url); |
| 17 void LoadScript(const std::string& url); |
| 18 |
| 19 #endif // MOJO_DART_DART_SNAPSHOTTER_LOADER_H_ |
OLD | NEW |