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

Unified Diff: lib/core/future.dart

Issue 11231043: Move FutureImpl and CompleterImpl from coreimpl to core, while also making them private. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/core/corelib_sources.gypi ('k') | lib/core/future_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/future.dart
diff --git a/lib/core/future.dart b/lib/core/future.dart
index 902432a64b90aa0a49be44957923cc0976fc79ea..80567c46f8ce0237a9ce2841acdfb07f39caae4f 100644
--- a/lib/core/future.dart
+++ b/lib/core/future.dart
@@ -29,7 +29,7 @@
*/
abstract class Future<T> {
/** A future whose value is immediately available. */
- factory Future.immediate(T value) => new FutureImpl<T>.immediate(value);
+ factory Future.immediate(T value) => new _FutureImpl<T>.immediate(value);
/** The value provided. Throws an exception if [hasValue] is false. */
T get value;
@@ -161,7 +161,7 @@ abstract class Future<T> {
*/
abstract class Completer<T> {
- factory Completer() => new CompleterImpl<T>();
+ factory Completer() => new _CompleterImpl<T>();
/** The future that will contain the value produced by this completer. */
Future get future;
« no previous file with comments | « lib/core/corelib_sources.gypi ('k') | lib/core/future_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698