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

Unified Diff: device/core/device_client.h

Issue 523743005: Fix HidService lifetime issues (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: where did that stupid line come from Created 6 years, 3 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 | « chrome/browser/extensions/api/chrome_extensions_api_client.cc ('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 3ca3130c0ad455412a170cfa598230f3039397d5..b4a9934e55b12774b8cb1c7dc5ef0016a2ef7582 100644
--- a/device/core/device_client.h
+++ b/device/core/device_client.h
@@ -9,6 +9,7 @@
namespace device {
+class HidService;
class UsbService;
// Interface used by consumers of //device APIs to get pointers to the service
@@ -28,6 +29,9 @@ class DeviceClient {
// Returns the UsbService instance for this embedder.
virtual UsbService* GetUsbService();
+ // Returns the HidService instance for this embedder.
+ virtual HidService* GetHidService();
+
private:
DISALLOW_COPY_AND_ASSIGN(DeviceClient);
};
« no previous file with comments | « chrome/browser/extensions/api/chrome_extensions_api_client.cc ('k') | device/core/device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698