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

Unified Diff: pkg/analyzer_plugin/lib/src/utilities/navigation/navigation.dart

Issue 2953093002: Update the plugin API (Closed)
Patch Set: Created 3 years, 6 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: pkg/analyzer_plugin/lib/src/utilities/navigation/navigation.dart
diff --git a/pkg/analyzer_plugin/lib/src/utilities/navigation/navigation.dart b/pkg/analyzer_plugin/lib/src/utilities/navigation/navigation.dart
index 2ea06db019e9b83432daf98b20d344282d85b821..7df2fa5cbbb10af9896df81fff4c4f3cc3da5071 100644
--- a/pkg/analyzer_plugin/lib/src/utilities/navigation/navigation.dart
+++ b/pkg/analyzer_plugin/lib/src/utilities/navigation/navigation.dart
@@ -85,9 +85,9 @@ class NavigationCollectorImpl implements NavigationCollector {
}
/**
- * A concrete implementation of [NavigationRequest].
+ * A concrete implementation of [DartNavigationRequest].
*/
-class NavigationRequestImpl implements NavigationRequest {
+class NavigationRequestImpl implements DartNavigationRequest {
maxkim 2017/06/22 20:52:56 DartNavigationRequestImpl
Brian Wilkerson 2017/06/22 22:07:01 Done
@override
final ResourceProvider resourceProvider;
@@ -105,4 +105,7 @@ class NavigationRequestImpl implements NavigationRequest {
*/
NavigationRequestImpl(
this.resourceProvider, this.offset, this.length, this.result);
+
+ @override
+ String get path => result.path;
}

Powered by Google App Engine
This is Rietveld 408576698