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 8a5740699585a9a8454d54692913a5572bfbc50f..42afae33f24f5cbedb1eab496bb5c2e0799b89a4 100644 |
--- a/pkg/analysis_server/lib/src/domain_analysis.dart |
+++ b/pkg/analysis_server/lib/src/domain_analysis.dart |
@@ -168,6 +168,8 @@ class AnalysisDomainHandler implements RequestHandler { |
return reanalyze(request); |
} else if (requestName == ANALYSIS_SET_ANALYSIS_ROOTS) { |
return setAnalysisRoots(request); |
+ } else if (requestName == ANALYSIS_SET_GENERAL_SUBSCRIPTIONS) { |
+ return setGeneralSubscriptions(request); |
} else if (requestName == ANALYSIS_SET_PRIORITY_FILES) { |
return setPriorityFiles(request); |
} else if (requestName == ANALYSIS_SET_SUBSCRIPTIONS) { |
@@ -219,6 +221,16 @@ class AnalysisDomainHandler implements RequestHandler { |
} |
/** |
+ * Implement the 'analysis.setGeneralSubscriptions' request. |
+ */ |
+ Response setGeneralSubscriptions(Request request) { |
+ AnalysisSetGeneralSubscriptionsParams params = |
+ new AnalysisSetGeneralSubscriptionsParams.fromRequest(request); |
+ server.setGeneralAnalysisSubscriptions(params.subscriptions); |
+ return new AnalysisSetGeneralSubscriptionsResult().toResponse(request.id); |
+ } |
+ |
+ /** |
* Implement the 'analysis.setPriorityFiles' request. |
*/ |
Response setPriorityFiles(Request request) { |