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

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

Issue 1736663003: Eliminate Quit() from Shell, and roll Shell & Connector together. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@14cf
Patch Set: . Created 4 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/renderer/render_frame_impl.cc ('k') | mojo/shell/application_instance.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_shell_test.js
diff --git a/content/test/data/web_ui_mojo_shell_test.js b/content/test/data/web_ui_mojo_shell_test.js
index f6faf1ce245136b57d8d143c4e697bcf38d03f85..57ea6bb1532c7dce3dc33e5fc7cbb8b56c56711f 100644
--- a/content/test/data/web_ui_mojo_shell_test.js
+++ b/content/test/data/web_ui_mojo_shell_test.js
@@ -28,13 +28,10 @@ define('main', [
return function() {
domAutomationController.setAutomationId(0);
- var shellPipe = serviceRegistry.connectToService(shellMojom.Shell.name);
- var shell = new shellMojom.Shell.proxyClass(new router.Router(shellPipe));
-
- var pipe = core.createMessagePipe();
- var connector =
- new shellMojom.Connector.proxyClass(new router.Router(pipe.handle0));
- shell.getConnector(pipe.handle1);
+ var connectorPipe =
+ serviceRegistry.connectToService(shellMojom.Connector.name);
+ var connector = new shellMojom.Connector.proxyClass(
+ new router.Router(connectorPipe));
connector.connect(
TEST_APP_URL, 1,
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | mojo/shell/application_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698