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

Unified Diff: pkg/analysis_server/lib/src/analysis_server.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
Index: pkg/analysis_server/lib/src/analysis_server.dart
diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart
index dac925c66f5154e1b565eb0dd20f626fc30dd596..b3a27eed8dee1ce0dab279c6232011d3c99729b9 100644
--- a/pkg/analysis_server/lib/src/analysis_server.dart
+++ b/pkg/analysis_server/lib/src/analysis_server.dart
@@ -114,9 +114,9 @@ class AnalysisServer {
final DartSdk defaultSdk;
/**
- * The instrumentation server that is to be used by this analysis server.
+ * The instrumentation service that is to be used by this analysis server.
*/
- final InstrumentationServer instrumentationServer;
+ final InstrumentationService instrumentationService;
/**
* A table mapping [Folder]s to the [AnalysisContext]s associated with them.
@@ -191,7 +191,7 @@ class AnalysisServer {
AnalysisServer(this.channel, this.resourceProvider,
PackageMapProvider packageMapProvider, this.index,
AnalysisServerOptions analysisServerOptions, this.defaultSdk,
- this.instrumentationServer, {this.rethrowExceptions: true}) {
+ this.instrumentationService, {this.rethrowExceptions: true}) {
searchEngine = createSearchEngine(index);
operationQueue = new ServerOperationQueue(this);
contextDirectoryManager =
@@ -824,7 +824,7 @@ class AnalysisServer {
// that the shutdown response can be sent and logged.
new Future(() {
channel.close();
- instrumentationServer.shutdown();
+ instrumentationService.shutdown();
});
}
« no previous file with comments | « pkg/analysis_server/lib/http_server.dart ('k') | pkg/analysis_server/lib/src/channel/byte_stream_channel.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698