summaryrefslogtreecommitdiffstats
path: root/device/core
diff options
context:
space:
mode:
authorrockot <rockot@chromium.org>2015-06-10 22:53:58 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-11 05:54:35 +0000
commited800dc138edfa261aa766281b96f736ff9824f6 (patch)
treeacb8cf3be46d24537b8904c9fc2620c0e9b715a2 /device/core
parentc39c3572e353b8120ae64aaf77d32f52598b740e (diff)
downloadchromium_src-ed800dc138edfa261aa766281b96f736ff9824f6.zip
chromium_src-ed800dc138edfa261aa766281b96f736ff9824f6.tar.gz
chromium_src-ed800dc138edfa261aa766281b96f736ff9824f6.tar.bz2
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. BUG=498557 Review URL: https://codereview.chromium.org/1165223004 Cr-Commit-Position: refs/heads/master@{#333899}
Diffstat (limited to 'device/core')
-rw-r--r--device/core/device_client.cc4
-rw-r--r--device/core/device_client.h5
2 files changed, 0 insertions, 9 deletions
diff --git a/device/core/device_client.cc b/device/core/device_client.cc
index 2aca216..5202122 100644
--- a/device/core/device_client.cc
+++ b/device/core/device_client.cc
@@ -35,10 +35,6 @@ UsbService* DeviceClient::GetUsbService() {
return NULL;
}
-void DeviceClient::ConnectToUSBDeviceManager(
- mojo::InterfaceRequest<usb::DeviceManager> request) {
-}
-
HidService* DeviceClient::GetHidService() {
// This should never be called by clients which do not support the HID API.
NOTREACHED();
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();