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

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: 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
Index: device/core/device_client.cc
diff --git a/device/core/device_client.cc b/device/core/device_client.cc
index f92ec17bed5462f6ef975bd31305a486af73c8cd..e4b363cc4331d128463a10d9ceebaa64b520e064 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 USB API.
Reilly Grant (use Gerrit) 2014/09/05 00:12:41 s/USB/HID/
Ken Rockot(use gerrit already) 2014/09/05 00:15:49 Done.
+ NOTREACHED();
+ return NULL;
+}
+
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698