Chromium Code Reviews| Index: runtime/bin/dartutils.h |
| diff --git a/runtime/bin/dartutils.h b/runtime/bin/dartutils.h |
| index c2ab3fb36f4a2cc6ef22657b3a66fc919effe5cf..7a1661f8295d3bd56dcf984ac3b78e18255519e9 100644 |
| --- a/runtime/bin/dartutils.h |
| +++ b/runtime/bin/dartutils.h |
| @@ -125,6 +125,7 @@ class DartUtils { |
| static bool IsDartBuiltinLibURL(const char* url_name); |
| static bool IsHttpSchemeURL(const char* url_name); |
| static const char* RemoveScheme(const char* url); |
| + static char* RemoveFilename(const char* url); |
|
siva
2016/11/02 23:48:38
Would File::DirName be a more appropriate implemen
Cutch
2016/11/03 17:45:34
+1.
|
| static void* MapExecutable(const char* name, intptr_t* file_len); |
| static void* OpenFile(const char* name, bool write); |
| static void ReadFile(const uint8_t** data, intptr_t* file_len, void* stream); |