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

Unified Diff: runtime/lib/uri_patch.dart

Issue 21039005: Add support for file URIs and extracting the file path from file URIs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed first round of review comments Created 7 years, 5 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
Index: runtime/lib/uri_patch.dart
diff --git a/runtime/bin/vmservice/service_request_router.dart b/runtime/lib/uri_patch.dart
similarity index 59%
copy from runtime/bin/vmservice/service_request_router.dart
copy to runtime/lib/uri_patch.dart
index 6bb5de542e97b7dc864a804db8a38dde9bb4a98f..002594462b5121915bf308b54ee629bdee848bff 100644
--- a/runtime/bin/vmservice/service_request_router.dart
+++ b/runtime/lib/uri_patch.dart
@@ -1,9 +1,9 @@
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+// Dart core library.
ahe 2013/08/06 14:14:30 Remove this line?
Søren Gjesse 2013/08/07 12:08:00 Done.
-part of vmservice;
-
-abstract class ServiceRequestRouter {
- bool route(ServiceRequest request);
+// VM implementation of Uri.
+patch class Uri {
+ /* patch */ static bool get _isWindowsPlatform native "Uri_isWindowsPlatform";
}
« no previous file with comments | « runtime/lib/uri.cc ('k') | runtime/vm/bootstrap_natives.h » ('j') | sdk/lib/core/uri.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698