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

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

Issue 1769163002: Add a instance groups to Connect(), and introduce an Identity struct. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 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') | mash/browser_driver/browser_driver_application_delegate.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 ab0661d54c1cbb0cad2bb2927dc21f72fd14104c..b43a4f4c1ce74d6e2a61f7156704082718578a6c 100644
--- a/content/test/data/web_ui_mojo_shell_test.js
+++ b/content/test/data/web_ui_mojo_shell_test.js
@@ -34,8 +34,12 @@ define('main', [
var connector = new connectorMojom.Connector.proxyClass(
new router.Router(connectorPipe));
+ var identity = {};
+ identity.name = TEST_APP_URL;
+ identity.user_id = connectorMojom.kInheritUserID;
+ identity.instance = "";
connector.connect(
- TEST_APP_URL, connectorMojom.kInheritUserID,
+ identity,
function (services) {
var test = connectToService(services, testMojom.TestMojoService);
test.getRequestorName().then(function(response) {
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | mash/browser_driver/browser_driver_application_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698