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

Unified Diff: pkg/barback/lib/src/package_provider.dart

Issue 19402003: Rename several classes in barback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. Created 7 years, 5 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 | « pkg/barback/lib/src/package_graph.dart ('k') | pkg/barback/lib/src/phase.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/lib/src/package_provider.dart
diff --git a/pkg/barback/lib/src/asset_provider.dart b/pkg/barback/lib/src/package_provider.dart
similarity index 89%
rename from pkg/barback/lib/src/asset_provider.dart
rename to pkg/barback/lib/src/package_provider.dart
index f57939753733b24a0f9cfbba0a6b05144e764fdf..8506d14ce63f6c958be8ab2b89b71c54f175dab0 100644
--- a/pkg/barback/lib/src/asset_provider.dart
+++ b/pkg/barback/lib/src/package_provider.dart
@@ -2,7 +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.
-library barback.asset_provider;
+library barback.package_provider;
import 'dart:async';
@@ -10,13 +10,11 @@ import 'asset.dart';
import 'asset_id.dart';
import 'transformer.dart';
-// TODO(nweiz): change the name of this class now that it provides more than
-// just assets.
/// API for locating and accessing packages on disk.
///
/// Implemented by pub and provided to barback so that it isn't coupled
/// directly to pub.
-abstract class AssetProvider {
+abstract class PackageProvider {
/// The names of all packages that can be provided by this provider.
///
/// This is equal to the transitive closure of the entrypoint package
« no previous file with comments | « pkg/barback/lib/src/package_graph.dart ('k') | pkg/barback/lib/src/phase.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698