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..e6c2dee1fdb0a2d1e032c6220cd41f2a93d9c1dc 100644 |
--- a/third_party/mojo_services/src/public/js/shell.js |
+++ b/third_party/mojo_services/src/public/js/shell.js |
@@ -8,12 +8,12 @@ define("mojo/services/public/js/shell", [ |
"mojo/public/js/connection", |
"mojo/public/interfaces/application/shell.mojom", |
"mojo/public/interfaces/application/service_provider.mojom", |
- "mojo/services/public/js/service_exchange", |
-], function(bindings, core, connection, shellMojom, spMojom, serviceExchange) { |
+ "mojo/services/public/js/service_provider","console", |
+], function(bindings, core, connection, shellMojom, spMojom, sp, console) { |
const ProxyBindings = bindings.ProxyBindings; |
const StubBindings = bindings.StubBindings; |
- const ServiceExchange = serviceExchange.ServiceExchange; |
+ const ServiceProvider = sp.ServiceProvider; |
const ServiceProviderInterface = spMojom.ServiceProvider; |
const ShellInterface = shellMojom.Shell; |
@@ -28,7 +28,7 @@ define("mojo/services/public/js/shell", [ |
if (application) |
return application; |
- var application = new ServiceExchange(); |
+ var application = new ServiceProvider(); |
this.shellProxy.connectToApplication(url, |
function(services) { |
application.proxy = services; |