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

Unified Diff: third_party/WebKit/LayoutTests/usb/resources/usb-helpers.js

Issue 1827473002: Make the process-wide ServiceRegistry available to JS. (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 | « third_party/WebKit/LayoutTests/resources/mojo-helpers.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/usb/resources/usb-helpers.js
diff --git a/third_party/WebKit/LayoutTests/usb/resources/usb-helpers.js b/third_party/WebKit/LayoutTests/usb/resources/usb-helpers.js
index faf30ac5c58e06a93c54dd4cd9acfae75ed57ade..72a76f3ab5877b8479cbe62e915b18fbafd83a5a 100644
--- a/third_party/WebKit/LayoutTests/usb/resources/usb-helpers.js
+++ b/third_party/WebKit/LayoutTests/usb/resources/usb-helpers.js
@@ -422,14 +422,14 @@ function usbMocks(mojo) {
}
let mockDeviceManager = new MockDeviceManager;
- mojo.serviceRegistry.addServiceOverrideForTesting(
+ mojo.frameServiceRegistry.addServiceOverrideForTesting(
deviceManager.DeviceManager.name,
pipe => {
mockDeviceManager.bindToPipe(pipe);
});
let mockChooserService = new MockChooserService;
- mojo.serviceRegistry.addServiceOverrideForTesting(
+ mojo.frameServiceRegistry.addServiceOverrideForTesting(
chooserService.ChooserService.name,
pipe => {
mockChooserService.bindToPipe(pipe);
« no previous file with comments | « third_party/WebKit/LayoutTests/resources/mojo-helpers.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698