Index: sky/sdk/lib/framework/shell.dart |
diff --git a/sky/sdk/lib/framework/shell.dart b/sky/sdk/lib/framework/shell.dart |
index 8ad37b05c5ae5d3aff30c71c331b96558d5d7a5e..1ffa631b8ee9e9ea1f0f8d724bd940def9fff5a9 100644 |
--- a/sky/sdk/lib/framework/shell.dart |
+++ b/sky/sdk/lib/framework/shell.dart |
@@ -2,26 +2,5 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-import "dart:sky.internals" as internals; |
- |
-import "package:mojo/application.dart"; |
-import 'package:mojo/core.dart' as core; |
-import "package:mojom/mojo/service_provider.mojom.dart"; |
- |
-import "embedder.dart"; |
- |
-ApplicationConnection _initConnection() { |
- int rawHandle = internals.takeServicesProvidedByEmbedder(); |
- core.MojoHandle proxyHandle = new core.MojoHandle(rawHandle); |
- ServiceProviderProxy serviceProvider = null; |
- if (proxyHandle.isValid) serviceProvider = |
- new ServiceProviderProxy.fromHandle(proxyHandle); |
- return new ApplicationConnection(null, serviceProvider); |
-} |
- |
-final ApplicationConnection _connection = _initConnection(); |
- |
-void requestService(String url, Object proxy) { |
- if (embedder.shell == null) _connection.requestService(proxy); |
- else embedder.connectToService(url, proxy); |
-} |
+// TODO(abarth): Remove this file once clients migrate to the new location. |
+export '../mojo/shell.dart'; |