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

Unified Diff: device/serial/data_sink_receiver.h

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/battery/battery_monitor_impl.cc ('k') | device/serial/data_sink_receiver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/data_sink_receiver.h
diff --git a/device/serial/data_sink_receiver.h b/device/serial/data_sink_receiver.h
index 03ae098fcfef893c75cc62f9b4dec736903965c2..57030d1773ac5b06ec56eebc5bd7f93803535fe9 100644
--- a/device/serial/data_sink_receiver.h
+++ b/device/serial/data_sink_receiver.h
@@ -52,10 +52,10 @@ class DataSinkReceiver : public base::RefCounted<DataSinkReceiver>,
~DataSinkReceiver() override;
- // mojo::InterfaceImpl<serial::DataSink> overrides.
+ // serial::DataSink overrides.
void Cancel(int32_t error) override;
void OnData(mojo::Array<uint8_t> data,
- const mojo::Callback<void(uint32_t, int32_t)>& callback) override;
+ const OnDataCallback& callback) override;
void ClearError() override;
void OnConnectionError();
« no previous file with comments | « device/battery/battery_monitor_impl.cc ('k') | device/serial/data_sink_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698