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

Unified Diff: pkg/analysis_server/lib/driver.dart

Issue 801543002: Rework instrumentation API (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Clean-up Created 6 years 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/http_server.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/driver.dart
diff --git a/pkg/analysis_server/lib/driver.dart b/pkg/analysis_server/lib/driver.dart
index 08d7bfac72635ac463412634eecd67266fb54cec..d4bd7ca2e9aadbee12ac57d84f2d422989c0e660 100644
--- a/pkg/analysis_server/lib/driver.dart
+++ b/pkg/analysis_server/lib/driver.dart
@@ -237,12 +237,11 @@ class Driver {
defaultSdk = DirectoryBasedDartSdk.defaultSdk;
}
- socketServer = new SocketServer(
- analysisServerOptions,
- defaultSdk,
- instrumentationServer == null ?
- new NullInstrumentationServer() :
- instrumentationServer);
+ InstrumentationService service =
+ new InstrumentationService(instrumentationServer);
+// service.logVersion(defaultSdk.sdkVersion);
+
+ socketServer = new SocketServer(analysisServerOptions, defaultSdk, service);
httpServer = new HttpAnalysisServer(socketServer);
stdioServer = new StdioAnalysisServer(socketServer);
« no previous file with comments | « no previous file | pkg/analysis_server/lib/http_server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698