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

Unified Diff: pkg/analysis_server/lib/src/operation/operation_analysis.dart

Issue 987143002: Fix for dartbug.com/22656- analysis.flushedResults implementation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: comment Created 5 years, 9 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/analysis_server/lib/src/operation/operation_analysis.dart
diff --git a/pkg/analysis_server/lib/src/operation/operation_analysis.dart b/pkg/analysis_server/lib/src/operation/operation_analysis.dart
index e4b5cfb6d715e1e7d8ab31393fd3c504baf26b39..73502610372f8759aab6ab9a5952b017f319d6b6 100644
--- a/pkg/analysis_server/lib/src/operation/operation_analysis.dart
+++ b/pkg/analysis_server/lib/src/operation/operation_analysis.dart
@@ -96,6 +96,16 @@ void sendAnalysisNotificationErrors(AnalysisServer server, String file,
});
}
+void sendAnalysisNotificationFlushResults(
+ AnalysisServer server, List<String> files) {
+ _sendNotification(server, () {
+ if (files != null && files.isNotEmpty) {
+ var params = new protocol.AnalysisFlushResultsParams(files);
+ server.sendNotification(params.toNotification());
+ }
+ });
+}
+
void sendAnalysisNotificationHighlights(
AnalysisServer server, String file, CompilationUnit dartUnit) {
_sendNotification(server, () {

Powered by Google App Engine
This is Rietveld 408576698