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

Unified Diff: device/hid/fake_input_service_linux.cc

Issue 1942883003: [Chrome OS Bootstrapping]: Do not always power off the Bluetooth adapter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address achuith@'s comments. Created 4 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/hid/fake_input_service_linux.h ('k') | device/hid/input_service_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/hid/fake_input_service_linux.cc
diff --git a/device/hid/fake_input_service_linux.cc b/device/hid/fake_input_service_linux.cc
index ae3f0851b813c857e8d4dd7e2b2af2260a2ff48d..fcbf255bc511ac9d862c8952fdf29210bedc545f 100644
--- a/device/hid/fake_input_service_linux.cc
+++ b/device/hid/fake_input_service_linux.cc
@@ -27,4 +27,9 @@ void FakeInputServiceLinux::ClearDeviceList() {
devices_.clear();
}
+void FakeInputServiceLinux::GetDevices(std::vector<InputDeviceInfo>* devices) {
+ for (const auto& device : devices_)
+ devices->push_back(device.second);
+}
+
} // namespace device
« no previous file with comments | « device/hid/fake_input_service_linux.h ('k') | device/hid/input_service_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698