Chromium Code Reviews| Index: sdk/lib/core/uri.dart |
| diff --git a/sdk/lib/core/uri.dart b/sdk/lib/core/uri.dart |
| index 328b9950d047151eba55b8bc59bb43463d325856..8bd68229d762c30c2a950b5b5e6a2d0430eae310 100644 |
| --- a/sdk/lib/core/uri.dart |
| +++ b/sdk/lib/core/uri.dart |
| @@ -358,6 +358,17 @@ class Uri { |
| return windows ? _makeWindowsFileUrl(path) : _makeFileUri(path); |
| } |
| + /** |
| + * Returns the natural base URI for the current platform. |
| + * |
| + * When running in a browser this will be the current URL (from |
|
floitsch
2013/09/18 09:06:26
is the current URL
Søren Gjesse
2013/09/25 09:17:08
Done.
|
| + * `window.location.href`). |
| + * |
| + * When not running in a browser this will be a file URI referencing |
|
floitsch
2013/09/18 09:06:26
is the file URI ...
Søren Gjesse
2013/09/25 09:17:08
Done.
|
| + * the current working directory. |
| + */ |
| + external static Uri get base; |
| + |
| external static bool get _isWindows; |
| static _checkNonWindowsPathReservedCharacters(List<String> segments, |