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

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

Issue 1920993002: Support for replacing of the context folder. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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/context_manager.dart
diff --git a/pkg/analysis_server/lib/src/context_manager.dart b/pkg/analysis_server/lib/src/context_manager.dart
index 3afe0f2423e2102becdcfdcd9dec03c8c55430f4..a87fdc546126042aa999be776648881e43167456 100644
--- a/pkg/analysis_server/lib/src/context_manager.dart
+++ b/pkg/analysis_server/lib/src/context_manager.dart
@@ -335,6 +335,12 @@ abstract class ContextManagerCallbacks {
void computingPackageMap(bool computing);
/**
+ * Called when the context manager changes the folder with which a context is
+ * associated. Currently this is mostly FYI, and used only in tests.
+ */
+ void moveContext(Folder from, Folder to);
+
+ /**
* Remove the context associated with the given [folder]. [flushedFiles] is
* a list of the files which will be "orphaned" by removing this context
* (they will no longer be analyzed by any context).
« no previous file with comments | « pkg/analysis_server/lib/src/analysis_server.dart ('k') | pkg/analysis_server/lib/src/single_context_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698