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

Unified Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServerListener.java

Issue 596893002: Rework launch data (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated Java side Created 6 years, 3 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: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServerListener.java
diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServerListener.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServerListener.java
index e7877ed2d47025fa620a4a4da5b71d0254de2329..029c52990e539bd45e8901dc03135ba71be8625d 100644
--- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServerListener.java
+++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/AnalysisServerListener.java
@@ -16,7 +16,6 @@ package com.google.dart.server;
import com.google.dart.server.generated.types.AnalysisError;
import com.google.dart.server.generated.types.AnalysisStatus;
import com.google.dart.server.generated.types.CompletionSuggestion;
-import com.google.dart.server.generated.types.ExecutableFile;
import com.google.dart.server.generated.types.HighlightRegion;
import com.google.dart.server.generated.types.NavigationRegion;
import com.google.dart.server.generated.types.Occurrences;
@@ -25,7 +24,6 @@ import com.google.dart.server.generated.types.OverrideMember;
import com.google.dart.server.generated.types.SearchResult;
import java.util.List;
-import java.util.Map;
/**
* The interface {@code AnalysisServerListener} defines the behavior of objects that listen for
@@ -74,14 +72,12 @@ public interface AnalysisServerListener {
/**
* New launch data has been computed.
*
- * @param executables a list of the files that are executable
- * @param dartToHtml a mapping from the paths of Dart files that are referenced by HTML files to a
- * list of the HTML files that reference the Dart files
- * @param htmlToDart a mapping from the paths of HTML files that reference Dart files to a list of
- * the Dart files they reference
+ * @param file the file for which launch data is being provided
+ * @param kind the kind of the executable file, or {@code null} for non-Dart files
+ * @param referencedFiles a list of the Dart files that are referenced by the file, or
+ * {@code null} for non-HTML files
*/
- public void computedLaunchData(List<ExecutableFile> executables,
- Map<String, List<String>> dartToHtml, Map<String, List<String>> htmlToDart);
+ public void computedLaunchData(String file, String kind, String[] referencedFiles);
/**
* A new collection of navigation regions has been computed for the given file. Each navigation

Powered by Google App Engine
This is Rietveld 408576698