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

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

Issue 300023004: Partial implementation of the 'setAnalysisRoots' API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 31d7e1b3a0cb49ffa6ade1f20aaa4810e8c653cf..59b5a9b9595480047443481b691dbc56a46e576c 100644
--- a/pkg/analysis_server/lib/src/socket_server.dart
+++ b/pkg/analysis_server/lib/src/socket_server.dart
@@ -10,6 +10,7 @@ import 'package:analysis_server/src/domain_analysis.dart';
import 'package:analysis_server/src/domain_context.dart';
import 'package:analysis_server/src/domain_server.dart';
import 'package:analysis_server/src/protocol.dart';
+import 'package:analysis_server/src/resource.dart';
/**
* Instances of the class [SocketServer] implement the common parts of
@@ -37,7 +38,9 @@ class SocketServer {
});
return;
}
- analysisServer = new AnalysisServer(serverChannel);
+ analysisServer = new AnalysisServer(
+ serverChannel,
+ PhysicalResourceProvider.INSTANCE);
_initializeHandlers(analysisServer);
}

Powered by Google App Engine
This is Rietveld 408576698