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

Unified Diff: pkg/analysis_server/lib/src/server/http_server.dart

Issue 2937323003: Remove ability to disable new analysis driver (Closed)
Patch Set: Created 3 years, 6 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 | « pkg/analysis_server/lib/src/server/driver.dart ('k') | pkg/analysis_server/lib/src/status/diagnostics.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/server/http_server.dart
diff --git a/pkg/analysis_server/lib/src/server/http_server.dart b/pkg/analysis_server/lib/src/server/http_server.dart
index 94eb15d0393757cb70ce5f3c15e7943eafb05506..6541df51cb2346549cf3ea10a1ebe8b5b66fba8b 100644
--- a/pkg/analysis_server/lib/src/server/http_server.dart
+++ b/pkg/analysis_server/lib/src/server/http_server.dart
@@ -126,12 +126,7 @@ class HttpAnalysisServer {
*/
Future<Null> _handleGetRequest(HttpRequest request) async {
if (getHandler == null) {
- if (socketServer.analysisServer.options.enableNewAnalysisDriver) {
- getHandler = new DiagnosticsSite(socketServer, _printBuffer);
- } else {
- getHandler = new ErrorGetHandler(
- 'Diagnostics only supported for the new analysis driver.');
- }
+ getHandler = new DiagnosticsSite(socketServer, _printBuffer);
}
await getHandler.handleGetRequest(request);
}
« no previous file with comments | « pkg/analysis_server/lib/src/server/driver.dart ('k') | pkg/analysis_server/lib/src/status/diagnostics.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698