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

Side by Side Diff: pkg/barback/lib/src/graph/package_graph.dart

Issue 261823008: Reorganize barback's source files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: re-add barback/lib/src/internal_asset.dart 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/barback/lib/src/graph/node_streams.dart ('k') | pkg/barback/lib/src/graph/phase.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library barback.package_graph; 5 library barback.graph.package_graph;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 9
10 import '../asset/asset_id.dart';
11 import '../asset/asset_node.dart';
12 import '../asset/asset_set.dart';
13 import '../build_result.dart';
14 import '../errors.dart';
15 import '../log.dart';
16 import '../package_provider.dart';
17 import '../transformer/transformer.dart';
18 import '../utils.dart';
10 import 'asset_cascade.dart'; 19 import 'asset_cascade.dart';
11 import 'asset_id.dart';
12 import 'asset_node.dart';
13 import 'asset_set.dart';
14 import 'build_result.dart';
15 import 'errors.dart';
16 import 'log.dart';
17 import 'node_status.dart'; 20 import 'node_status.dart';
18 import 'package_provider.dart';
19 import 'transformer.dart';
20 import 'utils.dart';
21 21
22 /// The collection of [AssetCascade]s for an entire application. 22 /// The collection of [AssetCascade]s for an entire application.
23 /// 23 ///
24 /// This tracks each package's [AssetCascade] and routes asset requests between 24 /// This tracks each package's [AssetCascade] and routes asset requests between
25 /// them. 25 /// them.
26 class PackageGraph { 26 class PackageGraph {
27 /// The provider that exposes asset and package information. 27 /// The provider that exposes asset and package information.
28 final PackageProvider provider; 28 final PackageProvider provider;
29 29
30 /// The [AssetCascade] for each package. 30 /// The [AssetCascade] for each package.
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 completer.completeError(error, stackTrace); 255 completer.completeError(error, stackTrace);
256 }); 256 });
257 }, onError: (error, stackTrace) { 257 }, onError: (error, stackTrace) {
258 _lastUnexpectedError = error; 258 _lastUnexpectedError = error;
259 _lastUnexpectedErrorTrace = stackTrace; 259 _lastUnexpectedErrorTrace = stackTrace;
260 _resultsController.addError(error, stackTrace); 260 _resultsController.addError(error, stackTrace);
261 }); 261 });
262 return completer.future; 262 return completer.future;
263 } 263 }
264 } 264 }
OLDNEW
« no previous file with comments | « pkg/barback/lib/src/graph/node_streams.dart ('k') | pkg/barback/lib/src/graph/phase.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698