Chromium Code Reviews

Side by Side Diff: packages/barback/lib/src/graph/phase.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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.graph.phase; 5 library barback.graph.phase;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import '../asset/asset_id.dart'; 9 import '../asset/asset_id.dart';
10 import '../asset/asset_node.dart'; 10 import '../asset/asset_node.dart';
(...skipping 376 matching lines...)
387 assert(asset.state.isDirty); 387 assert(asset.state.isDirty);
388 asset.force(); 388 asset.force();
389 asset.whenStateChanges().then((state) { 389 asset.whenStateChanges().then((state) {
390 if (state.isRemoved) return getOutput(asset.id); 390 if (state.isRemoved) return getOutput(asset.id);
391 return asset; 391 return asset;
392 }).then(request.complete).catchError(request.completeError); 392 }).then(request.complete).catchError(request.completeError);
393 } 393 }
394 394
395 String toString() => "phase $_location.$_index"; 395 String toString() => "phase $_location.$_index";
396 } 396 }
OLDNEW
« no previous file with comments | « packages/barback/lib/src/graph/package_graph.dart ('k') | packages/barback/lib/src/graph/phase_forwarder.dart » ('j') | no next file with comments »

Powered by Google App Engine