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

Unified Diff: sky/framework/embedder.dart

Issue 1027603002: Dart: Removes all but native calls and the handle watcher from the snapshot. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Hoist application interface dependence Created 5 years, 9 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/engine/core/script/dart_controller.cc ('k') | sky/tests/services/iframe-embed-vmc.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/embedder.dart
diff --git a/sky/framework/embedder.dart b/sky/framework/embedder.dart
index 9f7bafd86b85d69c743d7bd6c733b5e13e336e32..d9e64430a21150f4e7d41c402707f59eb42d8cf1 100644
--- a/sky/framework/embedder.dart
+++ b/sky/framework/embedder.dart
@@ -4,8 +4,8 @@
import "package:mojo/public/dart/application.dart";
import "dart:sky.internals" as internals;
-import "dart:mojo.bindings" as bindings;
-import "dart:mojo.core" as core;
+import "package:mojo/public/dart/bindings.dart" as bindings;
+import "package:mojo/public/dart/core.dart" as core;
import "package:mojo/public/interfaces/application/service_provider.mojom.dart";
import "package:mojo/public/interfaces/application/shell.mojom.dart";
import "package:mojo/services/service_registry/public/interfaces/service_registry.mojom.dart";
@@ -25,9 +25,11 @@ class _EmbedderImpl {
new core.MojoHandle(internals.takeServicesProvidedToEmbedder());
var proxyHandle =
new core.MojoHandle(internals.takeServicesProvidedByEmbedder());
- _connection = new ApplicationConection(
- stubHandle.isValid ? new ServiceProviderStub.fromHandle(stubHandle) : null,
- proxyHandle.isValid ? new ServiceProviderProxy.fromHandle(proxyHandle) : null);
+ _connection = new ApplicationConection(stubHandle.isValid
+ ? new ServiceProviderStub.fromHandle(stubHandle)
+ : null, proxyHandle.isValid
+ ? new ServiceProviderProxy.fromHandle(proxyHandle)
+ : null);
}
return _connection;
}
« no previous file with comments | « sky/engine/core/script/dart_controller.cc ('k') | sky/tests/services/iframe-embed-vmc.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698