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

Side by Side Diff: sdk/lib/core/future_impl.dart

Issue 11419032: Switch libraries to using new tags. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated to tip of tree. Changed library names to dart.x Created 8 years 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 | « sdk/lib/core/future.dart ('k') | sdk/lib/core/hashable.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 2012 Google Inc. All Rights Reserved. 1 // Copyright 2012 Google Inc. All Rights Reserved.
2 // Dart core library. 2 // Dart core library.
3 3
4 part of dart.core;
5
4 class _FutureImpl<T> implements Future<T> { 6 class _FutureImpl<T> implements Future<T> {
5 7
6 bool _isComplete = false; 8 bool _isComplete = false;
7 9
8 /** 10 /**
9 * Value that was provided to this Future by the Completer 11 * Value that was provided to this Future by the Completer
10 */ 12 */
11 T _value; 13 T _value;
12 14
13 /** 15 /**
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 282
281 void complete(T value) { 283 void complete(T value) {
282 _futureImpl._setValue(value); 284 _futureImpl._setValue(value);
283 } 285 }
284 286
285 void completeException(Object exception, [Object stackTrace]) { 287 void completeException(Object exception, [Object stackTrace]) {
286 _futureImpl._setException(exception, stackTrace); 288 _futureImpl._setException(exception, stackTrace);
287 } 289 }
288 } 290 }
289 291
OLDNEW
« no previous file with comments | « sdk/lib/core/future.dart ('k') | sdk/lib/core/hashable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698