summaryrefslogtreecommitdiffstats
path: root/device/core/device_client.h
diff options
context:
space:
mode:
authorrockot <rockot@chromium.org>2015-06-11 10:25:45 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-11 17:27:07 +0000
commit0fa66a8dc57470d805c22eea20c29dfec2c4d634 (patch)
tree37b118a681133c94b5ec9ec31c0eee04be85d509 /device/core/device_client.h
parent85cf6b004467da8d1d50969ded4692ca9a76f053 (diff)
downloadchromium_src-0fa66a8dc57470d805c22eea20c29dfec2c4d634.zip
chromium_src-0fa66a8dc57470d805c22eea20c29dfec2c4d634.tar.gz
chromium_src-0fa66a8dc57470d805c22eea20c29dfec2c4d634.tar.bz2
Reland: Introduce the devices Mojo app
It's a small Mojo app that currently only hosts USB device services. This CL adds the app along with an apptest suite (run manually with mojo_runner mojo:devices_apptests). The app is hooked up to Chrome to run in the browser process, though there are currently no production code paths which cause the app to launch. The original CL (https://codereview.chromium.org/1165223004/) was reverted for breaking Win8 GN builds, because the "midi" component target depends on //device/usb. This is being relanded with no logic changes, just some shuffling of sources into different targets. I've decided to move all the USB mojo service code into devices_app, which allows previous //device/usb dependents to remain unaffected by the introduction of mojo support. Component targets depending on mojo is a bad time for everyone. BUG=498557 TBR=reillyg@chromium.org,sky@chromium.org TBR=eroman@chromium.org - code moving from device/usb to device/devices_app/usb requires net/base in DEPS Review URL: https://codereview.chromium.org/1183443002 Cr-Commit-Position: refs/heads/master@{#333975}
Diffstat (limited to 'device/core/device_client.h')
-rw-r--r--device/core/device_client.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/device/core/device_client.h b/device/core/device_client.h
index 00fa179..300f4d6 100644
--- a/device/core/device_client.h
+++ b/device/core/device_client.h
@@ -34,11 +34,6 @@ class DeviceClient {
// Returns the UsbService instance for this embedder.
virtual UsbService* GetUsbService();
- // Connects a USB DeviceManager client to a concrete implementation. If
- // no such implementation is available the request is dropped.
- virtual void ConnectToUSBDeviceManager(
- mojo::InterfaceRequest<usb::DeviceManager> request);
-
// Returns the HidService instance for this embedder.
virtual HidService* GetHidService();