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

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

Issue 506433002: Finish modifying analysis server to make use of code generation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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 | « no previous file | pkg/analysis_server/lib/src/analysis_server.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/analysis_manager.dart
diff --git a/pkg/analysis_server/lib/src/analysis_manager.dart b/pkg/analysis_server/lib/src/analysis_manager.dart
index 0a5dc85bd69a5def5f9ad275fdf854b4ba2a4e9f..b4bff7f8dee91f51c38c6ee0ad17755579cdadb4 100644
--- a/pkg/analysis_server/lib/src/analysis_manager.dart
+++ b/pkg/analysis_server/lib/src/analysis_manager.dart
@@ -7,7 +7,6 @@ import 'dart:convert';
import 'dart:io';
import 'package:analysis_server/src/channel.dart';
-import 'package:analysis_server/src/constants.dart';
import 'package:analysis_server/src/protocol.dart';
/**
@@ -121,7 +120,7 @@ class AnalysisManager {
return channel.close().then((_) => false);
}
return channel
- .sendRequest(new Request('0', SERVER_SHUTDOWN))
+ .sendRequest(new ServerShutdownParams().toRequest('0'))
.timeout(new Duration(seconds: 2), onTimeout: () {
print('Expected shutdown response');
})
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/analysis_server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698