Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: test/generated_sdk/lib/core/uri.dart

Issue 959913003: cleanup patch generation to preseve comments and remove @patch (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/generated_sdk/lib/core/string_buffer.dart ('k') | test/generated_sdk/lib/internal/list.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/generated_sdk/lib/core/uri.dart
diff --git a/test/generated_sdk/lib/core/uri.dart b/test/generated_sdk/lib/core/uri.dart
index 37430e95865376455178784b57a546552c79debf..298593fffa71ac879cfdfaaa4bc2e4f54a7fa25a 100644
--- a/test/generated_sdk/lib/core/uri.dart
+++ b/test/generated_sdk/lib/core/uri.dart
@@ -698,14 +698,21 @@ class Uri {
return windows ? _makeWindowsFileUrl(path) : _makeFileUri(path);
}
- @patch
+ /**
+ * Returns the natural base URI for the current platform.
+ *
+ * When running in a browser this is the current URL (from
+ * `window.location.href`).
+ *
+ * When not running in a browser this is the file URI referencing
+ * the current working directory.
+ */
static Uri get base {
String uri = Primitives.currentUri();
if (uri != null) return Uri.parse(uri);
throw new UnsupportedError("'Uri.base' is not supported");
}
- @patch
static bool get _isWindows => false;
static _checkNonWindowsPathReservedCharacters(List<String> segments,
« no previous file with comments | « test/generated_sdk/lib/core/string_buffer.dart ('k') | test/generated_sdk/lib/internal/list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698