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

Unified Diff: device/serial/serial_service_impl.cc

Issue 2080513002: Deletes mojo::Callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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/serial/serial_service_impl.h ('k') | device/usb/mojo/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/serial_service_impl.cc
diff --git a/device/serial/serial_service_impl.cc b/device/serial/serial_service_impl.cc
index a66abea8d0a2f723607f1cc1d4a14c5ec3395d2d..97ad57f86cc24084a6f94d100da6b2142aa65824 100644
--- a/device/serial/serial_service_impl.cc
+++ b/device/serial/serial_service_impl.cc
@@ -56,8 +56,7 @@ void SerialServiceImpl::CreateOnMessageLoop(
ui_task_runner, base::Passed(&request)));
}
-void SerialServiceImpl::GetDevices(
- const mojo::Callback<void(mojo::Array<serial::DeviceInfoPtr>)>& callback) {
+void SerialServiceImpl::GetDevices(const GetDevicesCallback& callback) {
callback.Run(GetDeviceEnumerator()->GetDevices());
}
« no previous file with comments | « device/serial/serial_service_impl.h ('k') | device/usb/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698