Chromium Code Reviews| Index: mojo/apps/js/mojo_bridge_module.cc |
| diff --git a/mojo/apps/js/mojo_bridge_module.cc b/mojo/apps/js/mojo_bridge_module.cc |
| index 691a1e8c04d9a7154260b1f4daaf448fd520bc7a..45b1cb74b468bf1542cc6023b00a4ee35f76cbb5 100644 |
| --- a/mojo/apps/js/mojo_bridge_module.cc |
| +++ b/mojo/apps/js/mojo_bridge_module.cc |
| @@ -1,3 +1,4 @@ |
| + |
|
Aaron Boodman
2014/10/29 23:06:28
remove blank line
hansmuller
2014/10/30 00:23:38
Done.
|
| // Copyright 2014 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| @@ -30,8 +31,11 @@ v8::Local<v8::Value> MojoInternals::GetModule(JSApp* js_app, |
| if (templ.IsEmpty()) { |
| templ = gin::ObjectTemplateBuilder(isolate) |
| - .SetMethod("connectToService", |
| - base::Bind(&JSApp::ConnectToService, |
| + .SetMethod("requestorMessagePipeHandle", |
| + base::Bind(&JSApp::RequestorMessagePipeHandle, |
| + base::Unretained(js_app))) |
| + .SetMethod("connectToApplication", |
| + base::Bind(&JSApp::ConnectToApplication, |
| base::Unretained(js_app))) |
| .SetMethod("quit", |
| base::Bind(&JSApp::Quit, base::Unretained(js_app))) |