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

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

Issue 1152013002: Add support for specifying files needing analysis (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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/socket_server.dart
diff --git a/pkg/analysis_server/lib/src/socket_server.dart b/pkg/analysis_server/lib/src/socket_server.dart
index 8fb9b8d24470d37ccc55748ef4e9c2153ebacf35..28e08cef8de0dc60e224219f0a11db41f337243e 100644
--- a/pkg/analysis_server/lib/src/socket_server.dart
+++ b/pkg/analysis_server/lib/src/socket_server.dart
@@ -75,17 +75,9 @@ class SocketServer {
}
analysisServer = new AnalysisServer(serverChannel, resourceProvider,
- new OptimizingPubPackageMapProvider(resourceProvider, defaultSdk), index,
- analysisServerOptions, defaultSdk, instrumentationService,
- rethrowExceptions: false);
- _initializeHandlers(analysisServer);
+ new OptimizingPubPackageMapProvider(resourceProvider, defaultSdk),
+ index, serverPlugin, analysisServerOptions, defaultSdk,
+ instrumentationService, rethrowExceptions: false);
analysisServer.userDefinedPlugins = userDefinedPlugins;
}
-
- /**
- * Initialize the handlers to be used by the given [server].
- */
- void _initializeHandlers(AnalysisServer server) {
- server.handlers = serverPlugin.createDomains(server);
- }
}
« no previous file with comments | « pkg/analysis_server/lib/src/plugin/server_plugin.dart ('k') | pkg/analysis_server/test/analysis_abstract.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698