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

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

Issue 337943002: Adjust server for API changes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed bug Created 6 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/analysis_manager.dart ('k') | pkg/analysis_server/lib/src/constants.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_server.dart
diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart
index 2306e8bfeb7b4a640ecdf08821868a37a5d2f064..c6086ace2a4a8ae9167795faa9f5938bd6732308 100644
--- a/pkg/analysis_server/lib/src/analysis_server.dart
+++ b/pkg/analysis_server/lib/src/analysis_server.dart
@@ -141,7 +141,7 @@ class AnalysisServer {
contextDirectoryManager = new AnalysisServerContextDirectoryManager(this, resourceProvider);
AnalysisEngine.instance.logger = new AnalysisLogger();
running = true;
- Notification notification = new Notification(NOTIFICATION_CONNECTED);
+ Notification notification = new Notification(SERVER_CONNECTED);
channel.sendNotification(notification);
channel.listen(handleRequest, onDone: done, onError: error);
}
@@ -260,7 +260,7 @@ class AnalysisServer {
* the current context being analyzed or `null` if analysis is complete.
*/
void sendStatusNotification(String contextId) {
- Notification notification = new Notification(NOTIFICATION_STATUS);
+ Notification notification = new Notification(SERVER_STATUS);
Map<String, Object> analysis = new Map();
if (contextId != null) {
analysis['analyzing'] = true;
« no previous file with comments | « pkg/analysis_server/lib/src/analysis_manager.dart ('k') | pkg/analysis_server/lib/src/constants.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698