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

Unified Diff: third_party/mojo_services/src/public/js/shell.js

Issue 910883002: Update mojo sdk to rev 8af2ccff2eee4bfca1043015abee30482a030b30 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Apply 9f87aeadbda22441b7d469e596f7bd7d0d73e2a8 (https://codereview.chromium.org/908973002/) 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: third_party/mojo_services/src/public/js/shell.js
diff --git a/third_party/mojo_services/src/public/js/shell.js b/third_party/mojo_services/src/public/js/shell.js
index 90b3533fc18e340132e6b5f661a9e32f11593ed5..358f2726d68ccc17b8aeafc39959eb4d2101ba7d 100644
--- a/third_party/mojo_services/src/public/js/shell.js
+++ b/third_party/mojo_services/src/public/js/shell.js
@@ -30,10 +30,13 @@ define("mojo/services/public/js/shell", [
var application = new ServiceExchange();
this.shellProxy.connectToApplication(url,
- function(services) {
- application.proxy = services;
+ function(servicesProxy) {
+ application.proxy = servicesProxy;
},
- application);
+ function(exposedServicesStub) {
+ application.stub = exposedServicesStub;
+ StubBindings(exposedServicesStub).delegate = application;
+ });
this.applications_.set(url, application);
return application;
}

Powered by Google App Engine
This is Rietveld 408576698