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

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: Remove the dependency on content/public. Created 4 years, 8 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/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..1b3fa683667e24de513505cc6d166fd9ed087468 100644
--- a/device/hid/fake_input_service_linux.cc
+++ b/device/hid/fake_input_service_linux.cc
@@ -27,4 +27,10 @@ void FakeInputServiceLinux::ClearDeviceList() {
devices_.clear();
}
+void FakeInputServiceLinux::GetDevices(std::vector<InputDeviceInfo>* devices) {
+ for (const auto& device : devices_) {
achuithb 2016/05/04 22:05:03 Don't need {} here
xdai1 2016/05/04 22:25:01 Done.
+ devices->push_back(device.second);
+ }
+}
+
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698