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

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

Issue 3001413002: Remove uses of the old plugin model from the analysis server (Closed)
Patch Set: Created 3 years, 4 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
« no previous file with comments | « no previous file | pkg/analysis_server/lib/plugin/analysis/analyzed_files.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index ad3085c599643f0bc474ad9eab5f85e5482c201a..0000000000000000000000000000000000000000
--- a/pkg/analysis_server/lib/plugin/analysis/analysis_domain.dart
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-/**
- * Support for client code that interacts with the analysis domain of an
- * analysis server.
- *
- * Plugins can gain access to the request handler that implements the analysis
- * domain in order to extend the functionality of that domain. The class
- * [AnalysisDomain] defines the API of the analysis domain that plugins can use.
- *
- * If a plugin is interested in gaining access to the analysis domain, it should
- * register a function by including code like the following in the plugin's
- * registerExtensions method:
- *
- * AnalysisDomain analysisDomain;
- *
- * @override
- * void registerExtensions(RegisterExtension registerExtension) {
- * ...
- * registerExtension(
- * SET_ANALYSIS_DOMAIN_EXTENSION_POINT_ID,
- * (AnalysisDomain domain) => analysisDomain = domain);
- * ...
- * }
- */
-import 'package:analysis_server/src/plugin/server_plugin.dart';
-import 'package:plugin/plugin.dart';
-
-/**
- * The identifier of the extension point that allows plugins to get access to an
- * [AnalysisDomain]. The object used as an extension must be a
- * [SetAnalysisDomain].
- */
-final String SET_ANALYSIS_DOMAIN_EXTENSION_POINT_ID = Plugin.join(
- ServerPlugin.UNIQUE_IDENTIFIER,
- ServerPlugin.SET_ANALISYS_DOMAIN_EXTENSION_POINT);
-
-/**
- * A function that is invoked after the analysis domain has been created and is
- * initialized.
- */
-typedef void SetAnalysisDomain(AnalysisDomain domain);
-
-/**
- * An object that gives plugins access to the analysis domain of the analysis
- * server.
- *
- * Clients may not extend, implement or mix-in this class.
- */
-abstract class AnalysisDomain {}
« no previous file with comments | « no previous file | pkg/analysis_server/lib/plugin/analysis/analyzed_files.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698