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

Unified Diff: pkg/analysis_server/lib/src/services/index/local_index.dart

Issue 1359023002: Extract Dart specific node management into DartUnitIndexObjectManager. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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/services/index/local_index.dart
diff --git a/pkg/analysis_server/lib/src/services/index/local_index.dart b/pkg/analysis_server/lib/src/services/index/local_index.dart
index 887a003af9af4b500e9ab3e61c224f69b75dc09a..80f3b18abc5ce30525be1011b023569ec07fe474 100644
--- a/pkg/analysis_server/lib/src/services/index/local_index.dart
+++ b/pkg/analysis_server/lib/src/services/index/local_index.dart
@@ -29,7 +29,9 @@ class LocalIndex extends Index {
SplitIndexStore _store;
LocalIndex(NodeManager nodeManager) {
- _store = new SplitIndexStore(nodeManager);
+ // TODO(scheglov) get IndexObjectManager(s) as a parameter
+ _store = new SplitIndexStore(nodeManager,
+ <IndexObjectManager>[new DartUnitIndexObjectManager()]);
}
@override

Powered by Google App Engine
This is Rietveld 408576698