Chromium Code Reviews| Index: corelib/unified/core/implementation/future.dart |
| diff --git a/corelib/src/implementation/future_implementation.dart b/corelib/unified/core/implementation/future.dart |
| similarity index 92% |
| copy from corelib/src/implementation/future_implementation.dart |
| copy to corelib/unified/core/implementation/future.dart |
| index 58d78433a059fb005f9dc620449624e7b51a7f33..a0d2475a2d2e9b05a11fe892a7ad568be914c45e 100644 |
| --- a/corelib/src/implementation/future_implementation.dart |
| +++ b/corelib/unified/core/implementation/future.dart |
| @@ -211,22 +211,3 @@ class FutureImpl<T> implements Future<T> { |
| return completer.future; |
| } |
| } |
| - |
| -class CompleterImpl<T> implements Completer<T> { |
|
Mads Ager (google)
2012/08/01 13:48:34
Why move this to a separate file? I would leave fu
Anders Johnsen
2012/08/01 14:21:09
Reverting, see other comment.
|
| - |
| - final FutureImpl<T> _futureImpl; |
| - |
| - CompleterImpl() : _futureImpl = new FutureImpl() {} |
| - |
| - Future<T> get future() { |
| - return _futureImpl; |
| - } |
| - |
| - void complete(T value) { |
| - _futureImpl._setValue(value); |
| - } |
| - |
| - void completeException(Object exception, [Object stackTrace]) { |
| - _futureImpl._setException(exception, stackTrace); |
| - } |
| -} |