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

Unified Diff: pkg/analyzer/lib/src/dart/analysis/file_tracker.dart

Issue 2757753002: Migrate DDC to the new analysis driver.
Patch Set: Created 3 years, 9 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/analyzer/lib/src/dart/analysis/file_tracker.dart
diff --git a/pkg/analyzer/lib/src/dart/analysis/file_tracker.dart b/pkg/analyzer/lib/src/dart/analysis/file_tracker.dart
index aa34c330ee5e599ed87680bd815bb182a2cc67e1..56e447d3439b6144aca360373b5b86cbbfeedb4d 100644
--- a/pkg/analyzer/lib/src/dart/analysis/file_tracker.dart
+++ b/pkg/analyzer/lib/src/dart/analysis/file_tracker.dart
@@ -11,6 +11,7 @@ import 'package:analyzer/src/dart/analysis/driver.dart';
import 'package:analyzer/src/dart/analysis/file_state.dart';
import 'package:analyzer/src/generated/engine.dart';
import 'package:analyzer/src/generated/source.dart';
+import 'package:analyzer/src/summary/package_bundle_reader.dart';
/**
* Callback used by [FileTracker] to report to its client that files have been
@@ -53,6 +54,11 @@ class FileTracker {
final addedFiles = new LinkedHashSet<String>();
/**
+ * TODO(scheglov) document
+ */
+ final SummaryDataStore externalSummaries;
+
+ /**
* The set of files were reported as changed through [changeFile] and not
* checked for actual changes yet.
*/
@@ -71,9 +77,11 @@ class FileTracker {
SourceFactory sourceFactory,
AnalysisOptions analysisOptions,
Uint32List salt,
+ this.externalSummaries,
this._changeHook)
: fsState = new FileSystemState(logger, byteStore, contentOverlay,
- resourceProvider, sourceFactory, analysisOptions, salt);
+ resourceProvider, sourceFactory, analysisOptions, salt,
+ externalSummaries: externalSummaries);
/**
* Returns the path to exactly one that needs analysis. Throws a [StateError]

Powered by Google App Engine
This is Rietveld 408576698