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

Unified Diff: lib/src/plugin/plugin_config_processor_plugin.dart

Issue 1373903004: Bootloader initialization cleanup. (Closed) Base URL: https://github.com/dart-lang/analyzer_cli.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
« no previous file with comments | « lib/src/driver.dart ('k') | test/driver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/plugin/plugin_config_processor_plugin.dart
diff --git a/lib/src/plugin/plugin_config_processor_plugin.dart b/lib/src/plugin/plugin_config_processor_plugin.dart
deleted file mode 100644
index bc6f5835a5d570732a543e3c6bd7eaa7eabecc79..0000000000000000000000000000000000000000
--- a/lib/src/plugin/plugin_config_processor_plugin.dart
+++ /dev/null
@@ -1,36 +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.
-
-library analyzer_cli.src.plugin.plugin_config_processor;
-
-import 'package:analyzer/plugin/options.dart';
-import 'package:analyzer/src/plugin/plugin_configuration.dart';
-import 'package:plugin/plugin.dart';
-
-/// A plugin that registers an extension to process plugin configurations
-/// as defined in .`analysis options`.
-class PluginConfigProcessorPlugin implements Plugin {
- /// The unique identifier of this plugin.
- static const String UNIQUE_IDENTIFIER = 'plugin_config_processor.core';
-
- final PluginConfigOptionsProcessor _optionProcessor;
-
- PluginConfigProcessorPlugin([ErrorHandler handler])
- : _optionProcessor = new PluginConfigOptionsProcessor(handler);
-
- PluginConfig get pluginConfig => _optionProcessor.config;
-
- @override
- String get uniqueIdentifier => UNIQUE_IDENTIFIER;
-
- @override
- void registerExtensionPoints(RegisterExtensionPoint registerExtensionPoint) {
- // There are no extension points.
- }
-
- @override
- void registerExtensions(RegisterExtension registerExtension) {
- registerExtension(OPTIONS_PROCESSOR_EXTENSION_POINT_ID, _optionProcessor);
- }
-}
« no previous file with comments | « lib/src/driver.dart ('k') | test/driver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698