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

Side by Side Diff: pkg/barback/test/transformer/mock.dart

Issue 21004014: Fix cancelable_future again. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More library tags. Created 7 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 unified diff | Download patch | Annotate | Revision Log
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.test.transformer.mock;
6
5 import 'dart:async'; 7 import 'dart:async';
6 8
7 import 'package:barback/barback.dart'; 9 import 'package:barback/barback.dart';
8 import 'package:barback/src/utils.dart'; 10 import 'package:barback/src/utils.dart';
9 11
10 /// The abstract base class for transformers used to test barback. 12 /// The abstract base class for transformers used to test barback.
11 /// 13 ///
12 /// This adds the ability to pause and resume different components of the 14 /// This adds the ability to pause and resume different components of the
13 /// transformers, and to tell whether they're running, when they start running, 15 /// transformers, and to tell whether they're running, when they start running,
14 /// and how many times they've run. 16 /// and how many times they've run.
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 if (_runningTransforms == 0) _started = new Completer(); 125 if (_runningTransforms == 0) _started = new Completer();
124 }); 126 });
125 } 127 }
126 128
127 /// The wrapped version of [isPrimary] for subclasses to override. 129 /// The wrapped version of [isPrimary] for subclasses to override.
128 Future<bool> doIsPrimary(Asset asset); 130 Future<bool> doIsPrimary(Asset asset);
129 131
130 /// The wrapped version of [doApply] for subclasses to override. 132 /// The wrapped version of [doApply] for subclasses to override.
131 Future doApply(Transform transform); 133 Future doApply(Transform transform);
132 } 134 }
OLDNEW
« no previous file with comments | « pkg/barback/test/transformer/many_to_one.dart ('k') | pkg/barback/test/transformer/one_to_many.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698