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

Unified Diff: pkg/analysis_server/lib/plugin/analysis/analysis_domain.dart

Issue 2949103003: Remove more dead code from analysis server (Closed)
Patch Set: Created 3 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
Index: pkg/analysis_server/lib/plugin/analysis/analysis_domain.dart
diff --git a/pkg/analysis_server/lib/plugin/analysis/analysis_domain.dart b/pkg/analysis_server/lib/plugin/analysis/analysis_domain.dart
index 244c666defa426345bc9e35a16ab85672e6ae95b..aadaa4507bcf5ea2e39d1130fe31664f63fbdaba 100644
--- a/pkg/analysis_server/lib/plugin/analysis/analysis_domain.dart
+++ b/pkg/analysis_server/lib/plugin/analysis/analysis_domain.dart
@@ -25,15 +25,11 @@
* ...
* }
*/
-import 'dart:async';
-
import 'package:analysis_server/protocol/protocol_generated.dart'
show AnalysisService;
import 'package:analysis_server/src/plugin/server_plugin.dart';
-import 'package:analyzer/src/generated/engine.dart'
- show AnalysisContext, ResultChangedEvent;
+import 'package:analyzer/src/generated/engine.dart' show AnalysisContext;
import 'package:analyzer/src/generated/source.dart' show Source;
-import 'package:analyzer/task/model.dart' show ResultDescriptor;
import 'package:plugin/plugin.dart';
/**
@@ -59,17 +55,6 @@ typedef void SetAnalysisDomain(AnalysisDomain domain);
*/
abstract class AnalysisDomain {
/**
- * Return the stream that is notified when a new value for the given
- * [result] is computed or invalidated.
- *
- * This method should be used by plugins that need to perform some additional
- * processing after analysis has completed. One example would be a plugin that
- * needed to send a notification to the client because some data was now
- * invalidated.
- */
- Stream<ResultChangedEvent> onResultChanged(ResultDescriptor result);
-
- /**
* Schedule sending the given [service] notifications for the given [source]
* in the given [context].
*/
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/analysis_server.dart » ('j') | pkg/analysis_server/lib/src/domain_analysis.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698