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

Unified Diff: sdk/lib/_internal/pub/lib/src/barback/admin_server.dart

Issue 238443002: Rename BuildDirectory -> SourceDirectory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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
Index: sdk/lib/_internal/pub/lib/src/barback/admin_server.dart
diff --git a/sdk/lib/_internal/pub/lib/src/barback/admin_server.dart b/sdk/lib/_internal/pub/lib/src/barback/admin_server.dart
index f07b7fa3470d6ef1050cb080ec44f9fb45d02848..f31d4d2ceb9959eee2f93931de2f51dcb5c637a1 100644
--- a/sdk/lib/_internal/pub/lib/src/barback/admin_server.dart
+++ b/sdk/lib/_internal/pub/lib/src/barback/admin_server.dart
@@ -10,8 +10,8 @@ import 'dart:io';
import 'package:stack_trace/stack_trace.dart';
import '../log.dart' as log;
+import 'asset_environment.dart';
import 'base_server.dart';
-import 'build_environment.dart';
import 'web_socket_api.dart';
/// The web admin interface to pub serve.
@@ -22,7 +22,7 @@ class AdminServer extends BaseServer {
final _webSockets = new Set<WebSocket>();
/// Creates a new server and binds it to [port] of [host].
- static Future<AdminServer> bind(BuildEnvironment environment,
+ static Future<AdminServer> bind(AssetEnvironment environment,
String host, int port) {
return Chain.track(HttpServer.bind(host, port)).then((server) {
log.fine('Bound admin server to $host:$port.');
@@ -30,7 +30,7 @@ class AdminServer extends BaseServer {
});
}
- AdminServer._(BuildEnvironment environment, HttpServer server)
+ AdminServer._(AssetEnvironment environment, HttpServer server)
: super(environment, server);
/// Closes the server and all Web Socket connections.

Powered by Google App Engine
This is Rietveld 408576698