From ed800dc138edfa261aa766281b96f736ff9824f6 Mon Sep 17 00:00:00 2001 From: rockot Date: Wed, 10 Jun 2015 22:53:58 -0700 Subject: 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} --- device/core/device_client.cc | 4 ---- device/core/device_client.h | 5 ----- 2 files changed, 9 deletions(-) (limited to 'device/core') 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 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 request); - // Returns the HidService instance for this embedder. virtual HidService* GetHidService(); -- cgit v1.1