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

Unified Diff: sky/sdk/lib/framework/shell.dart

Issue 1179923004: Fix data loading in the stocks app (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 | « sky/sdk/lib/framework/net/image_cache.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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';
« no previous file with comments | « sky/sdk/lib/framework/net/image_cache.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698