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

Side by Side Diff: sdk/lib/_internal/pub/lib/src/command/serve.dart

Issue 94843002: Unify dart:async and pub/io.dart TimeoutException classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 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
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 pub.command.serve; 5 library pub.command.serve;
6 6
7 import 'dart:async' hide TimeoutException; 7 import 'dart:async';
8 8
9 import 'package:barback/barback.dart'; 9 import 'package:barback/barback.dart';
10 10
11 import '../barback/dart_forwarding_transformer.dart'; 11 import '../barback/dart_forwarding_transformer.dart';
12 import '../barback/dart2js_transformer.dart'; 12 import '../barback/dart2js_transformer.dart';
13 import '../barback/pub_package_provider.dart'; 13 import '../barback/pub_package_provider.dart';
14 import '../barback.dart' as barback; 14 import '../barback.dart' as barback;
15 import '../command.dart'; 15 import '../command.dart';
16 import '../entrypoint.dart'; 16 import '../entrypoint.dart';
17 import '../exit_codes.dart' as exit_codes; 17 import '../exit_codes.dart' as exit_codes;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 if (!completer.isCompleted) completer.completeError(error, stackTrace); 124 if (!completer.isCompleted) completer.completeError(error, stackTrace);
125 }); 125 });
126 126
127 log.message("Serving ${entrypoint.root.name} " 127 log.message("Serving ${entrypoint.root.name} "
128 "on http://$hostname:${server.port}"); 128 "on http://$hostname:${server.port}");
129 129
130 return completer.future; 130 return completer.future;
131 }); 131 });
132 } 132 }
133 } 133 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/command/list_package_dirs.dart ('k') | sdk/lib/_internal/pub/lib/src/command/uploader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698