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

Unified Diff: device/core/device_client.h

Issue 1158323002: Revert of Build a basic Mojo service framework for device/usb (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « device/core/core.gyp ('k') | device/core/device_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/core/device_client.h
diff --git a/device/core/device_client.h b/device/core/device_client.h
index 00fa17902ab70f58e4ea26467a45085fc227f2f1..b4a9934e55b12774b8cb1c7dc5ef0016a2ef7582 100644
--- a/device/core/device_client.h
+++ b/device/core/device_client.h
@@ -6,16 +6,11 @@
#define DEVICE_CORE_DEVICE_CLIENT_H_
#include "base/macros.h"
-#include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h"
namespace device {
class HidService;
class UsbService;
-
-namespace usb {
-class DeviceManager;
-}
// Interface used by consumers of //device APIs to get pointers to the service
// singletons appropriate for a given embedding application. For an example see
@@ -26,18 +21,13 @@
DeviceClient();
// Destruction clears the single instance.
- virtual ~DeviceClient();
+ ~DeviceClient();
// Returns the single instance of |this|.
static DeviceClient* Get();
// 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();
« no previous file with comments | « device/core/core.gyp ('k') | device/core/device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698