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

Unified Diff: pkg/barback/lib/src/asset/asset_set.dart

Issue 267393009: Transition barback's infrastructure to an aggregate-based model. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 7 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/asset/asset_node_set.dart ('k') | pkg/barback/lib/src/errors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/lib/src/asset/asset_set.dart
diff --git a/pkg/barback/lib/src/asset/asset_set.dart b/pkg/barback/lib/src/asset/asset_set.dart
index d385ec2247968c8176614be09ff61aaca62dfc2d..ac58774cafd221ccc1fb31aa2712fae606164ce9 100644
--- a/pkg/barback/lib/src/asset/asset_set.dart
+++ b/pkg/barback/lib/src/asset/asset_set.dart
@@ -16,6 +16,9 @@ import 'asset_id.dart';
class AssetSet extends IterableBase<Asset> {
final _assets = new Map<AssetId, Asset>();
+ /// The ids of the assets in the set.
+ Iterable<AssetId> get ids => _assets.keys;
+
AssetSet();
/// Creates a new AssetSet from the contents of [other].
« no previous file with comments | « pkg/barback/lib/src/asset/asset_node_set.dart ('k') | pkg/barback/lib/src/errors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698