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

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

Issue 2988743002: Remove the analysus.reanalyze request from the plugin API (Closed)
Patch Set: Restart plugins Created 3 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
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/plugin/plugin_manager.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 11ea4f54da7df4570a65cfd43b44df02f6e22853..ba5c7031143f179b9a326b65dcfa9e0bb077ee88 100644
--- a/pkg/analysis_server/lib/src/domain_analysis.dart
+++ b/pkg/analysis_server/lib/src/domain_analysis.dart
@@ -298,11 +298,10 @@ class AnalysisDomainHandler extends AbstractRequestHandler {
server.reanalyze(rootResources);
}
//
- // Forward the request to the plugins.
+ // Restart all of the plugins. This is an async operation that will happen
+ // in the background.
//
- RequestConverter converter = new RequestConverter();
- server.pluginManager
- .broadcastRequest(converter.convertAnalysisReanalyzeParams(params));
+ server.pluginManager.restartPlugins();
//
// Send the response.
//
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/plugin/plugin_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698