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 SKY_TOOLS_PACKAGER_LOADER_H_ | 5 #ifndef SKY_TOOLS_PACKAGER_LOADER_H_ |
6 #define SKY_TOOLS_PACKAGER_LOADER_H_ | 6 #define SKY_TOOLS_PACKAGER_LOADER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "dart/runtime/include/dart_api.h" | 10 #include "dart/runtime/include/dart_api.h" |
11 | 11 |
12 Dart_Handle HandleLibraryTag(Dart_LibraryTag tag, | 12 Dart_Handle HandleLibraryTag(Dart_LibraryTag tag, |
13 Dart_Handle library, | 13 Dart_Handle library, |
14 Dart_Handle url); | 14 Dart_Handle url); |
15 void LoadSkyInternals(); | 15 void LoadSkyInternals(); |
16 void LoadScript(std::string url); | 16 void LoadScript(const std::string& url); |
17 | 17 |
18 #endif // SKY_TOOLS_PACKAGER_LOADER_H_ | 18 #endif // SKY_TOOLS_PACKAGER_LOADER_H_ |
OLD | NEW |