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

Unified Diff: pkg/analysis_server/lib/src/domain_analysis.dart

Issue 2843093002: Send re-analyze requests to plugins (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | pkg/analysis_server/lib/src/edit/edit_domain.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/domain_analysis.dart
diff --git a/pkg/analysis_server/lib/src/domain_analysis.dart b/pkg/analysis_server/lib/src/domain_analysis.dart
index ede1621fbb9c43f1c35572927171cf7e470f1513..b036879419294dbb6b316dd25a1a24964fa2c178 100644
--- a/pkg/analysis_server/lib/src/domain_analysis.dart
+++ b/pkg/analysis_server/lib/src/domain_analysis.dart
@@ -291,6 +291,15 @@ class AnalysisDomainHandler implements RequestHandler {
}
server.reanalyze(rootResources);
}
+ //
+ // Forward the request to the plugins.
+ //
+ RequestConverter converter = new RequestConverter();
+ server.pluginManager
+ .broadcastRequest(converter.convertAnalysisReanalyzeParams(params));
+ //
+ // Send the response.
+ //
return new AnalysisReanalyzeResult().toResponse(request.id);
}
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/edit/edit_domain.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698