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

Unified Diff: sky/examples/dart-mojo.sky

Issue 922083002: Add initializeFromShellProxy to application.dart (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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: sky/examples/dart-mojo.sky
diff --git a/sky/examples/dart-mojo.sky b/sky/examples/dart-mojo.sky
index e69f99e1d0429026db6a947d99401d0f5bfb2f0e..c540292739a9acc26d064fe72707c1fd0b9cc7e8 100644
--- a/sky/examples/dart-mojo.sky
+++ b/sky/examples/dart-mojo.sky
@@ -20,7 +20,7 @@ class WGet extends Application {
WGet.fromHandle(MojoHandle handle) : super.fromHandle(handle);
WGet(MojoMessagePipeEndpoint endpoint) : super(endpoint);
- void initialize(List<String> args) {
+ void initialize(List<String> args, String url) {
run(args);
}
@@ -75,7 +75,7 @@ main() {
var wget = new WGet(messagePipe.endpoints[1]);
wget.listen();
var shellProxy = new shell_mojom.ShellProxy.fromHandle(new MojoHandle(internals.passShellProxyHandle()));
zra 2015/02/13 07:14:23 If Dart code in .sky files should follow Dart styl
abarth-chromium 2015/02/13 07:16:50 Will fix.
- wget.initializeFromShellProxy(shellProxy, ["mojo:wget", "http://www.google.com"]);
+ wget.initializeFromShellProxy(shellProxy, ["mojo:wget", "http://www.google.com"], "mojo:wget");
}
</script>
« mojo/public/dart/src/application.dart ('K') | « mojo/public/dart/src/application.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698