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

Unified Diff: content/test/data/web_ui_mojo.js

Issue 954643002: Update mojo sdk to rev 3d23dae011859a2aae49f1d1adde705c8e85d819 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use run_renderer_in_process() 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
« no previous file with comments | « content/content_common.gypi ('k') | content/test/render_thread_impl_browser_test_ipc_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/web_ui_mojo.js
diff --git a/content/test/data/web_ui_mojo.js b/content/test/data/web_ui_mojo.js
index 38b01940c45e7568339293ccc46bee8b37bfc998..978d068210139d042b1f166fbcc6ce95859eb515 100644
--- a/content/test/data/web_ui_mojo.js
+++ b/content/test/data/web_ui_mojo.js
@@ -3,17 +3,16 @@
// found in the LICENSE file.
define('main', [
- 'mojo/public/js/connection',
+ 'mojo/public/js/router',
'content/test/data/web_ui_test_mojo_bindings.mojom',
'content/public/renderer/service_provider',
-], function (connection, bindings, serviceProvider) {
+], function (router, bindings, serviceProvider) {
var browserTarget;
return function() {
- browserTarget = connection.bindProxyHandle(
- serviceProvider.connectToService(bindings.BrowserTarget.name),
- undefined,
- bindings.BrowserTarget);
+ browserTarget = new bindings.BrowserTarget.proxyClass(
+ new router.Router(
+ serviceProvider.connectToService(bindings.BrowserTarget.name)));
browserTarget.start().then(function() {
browserTarget.stop();
« no previous file with comments | « content/content_common.gypi ('k') | content/test/render_thread_impl_browser_test_ipc_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698