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

Unified Diff: device/serial/serial_service_unittest.cc

Issue 873293006: Revert of Remove Client= from device/serial/data_stream.mojom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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.cc ('k') | extensions/renderer/api/serial/data_receiver_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/serial_service_unittest.cc
diff --git a/device/serial/serial_service_unittest.cc b/device/serial/serial_service_unittest.cc
index 103fb20b6b4fcf127c294f0b44ac9eb4228d090e..7f8beb23b5f59a73ef056d76ad12e041b123600e 100644
--- a/device/serial/serial_service_unittest.cc
+++ b/device/serial/serial_service_unittest.cc
@@ -84,15 +84,12 @@
&service);
mojo::InterfacePtr<serial::Connection> connection;
mojo::InterfacePtr<serial::DataSink> sink;
- mojo::InterfacePtr<serial::DataSinkClient> sink_client;
- mojo::GetProxy(&sink_client);
mojo::InterfacePtr<serial::DataSource> source;
- mojo::InterfacePtr<serial::DataSourceClient> source_client;
- mojo::GetProxy(&source_client);
- service->Connect(path, serial::ConnectionOptions::New(),
- mojo::GetProxy(&connection), mojo::GetProxy(&sink),
- sink_client.Pass(), mojo::GetProxy(&source),
- source_client.Pass());
+ service->Connect(path,
+ serial::ConnectionOptions::New(),
+ mojo::GetProxy(&connection),
+ mojo::GetProxy(&sink),
+ mojo::GetProxy(&source));
connection.set_error_handler(this);
expecting_error_ = !expecting_success;
connection->GetInfo(
« no previous file with comments | « device/serial/serial_service_impl.cc ('k') | extensions/renderer/api/serial/data_receiver_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698