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

Unified Diff: pkg/analyzer/lib/src/generated/sdk_io.dart

Issue 2242853002: Deprecate DirectoryBasedDartSdk and transition existing uses to the new API (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 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
Index: pkg/analyzer/lib/src/generated/sdk_io.dart
diff --git a/pkg/analyzer/lib/src/generated/sdk_io.dart b/pkg/analyzer/lib/src/generated/sdk_io.dart
index 50cb9d066fb7cf512c51c2c6c888ef6499a923f4..96d66bda5281d5ab27572632184afbcdf88e1e4a 100644
--- a/pkg/analyzer/lib/src/generated/sdk_io.dart
+++ b/pkg/analyzer/lib/src/generated/sdk_io.dart
@@ -2,6 +2,7 @@
// 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.
+@deprecated
library analyzer.src.generated.sdk_io;
import 'dart:collection';
@@ -29,6 +30,7 @@ import 'package:path/path.dart' as pathos;
* stored in a library map. Subclasses are responsible for populating the
* library map.
*/
+@deprecated
abstract class AbstractDartSdk implements DartSdk {
/**
* A mapping from Dart library URI's to the library represented by that URI.
@@ -252,7 +254,10 @@ abstract class AbstractDartSdk implements DartSdk {
* util/
* ... Dart utilities ...
* Chromium/ <-- Dartium typically exists in a sibling directory
+ *
+ * This class is deprecated. Please use FolderBasedDartSdk instead.
*/
+@deprecated
class DirectoryBasedDartSdk extends AbstractDartSdk {
/**
* The default SDK, or `null` if the default SDK either has not yet been
@@ -750,6 +755,7 @@ class DirectoryBasedDartSdk extends AbstractDartSdk {
* platforms: 0),
* };
*/
+@deprecated
class SdkLibrariesReader {
/**
* A flag indicating whether the dart2js path should be used when it is

Powered by Google App Engine
This is Rietveld 408576698