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

Unified Diff: device/core/device_client.cc

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 | « device/core/device_client.h ('k') | device/hid/hid_connection_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/core/device_client.cc
diff --git a/device/core/device_client.cc b/device/core/device_client.cc
index f92ec17bed5462f6ef975bd31305a486af73c8cd..52021221d9f0fc84130109ba6846a7d3eafd0627 100644
--- a/device/core/device_client.cc
+++ b/device/core/device_client.cc
@@ -35,4 +35,10 @@ UsbService* DeviceClient::GetUsbService() {
return NULL;
}
+HidService* DeviceClient::GetHidService() {
+ // This should never be called by clients which do not support the HID API.
+ NOTREACHED();
+ return NULL;
+}
+
} // namespace device
« no previous file with comments | « device/core/device_client.h ('k') | device/hid/hid_connection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698