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

Unified Diff: device/serial/serial_service_unittest.cc

Issue 889283002: Remove Client= from device/serial/data_stream.mojom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: This time without racing message pipes 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 7f8beb23b5f59a73ef056d76ad12e041b123600e..265b0b5aa47d34a92cff093537c4c1d151fdf2c0 100644
--- a/device/serial/serial_service_unittest.cc
+++ b/device/serial/serial_service_unittest.cc
@@ -85,11 +85,11 @@ class SerialServiceTest : public testing::Test, public mojo::ErrorHandler {
mojo::InterfacePtr<serial::Connection> connection;
mojo::InterfacePtr<serial::DataSink> sink;
mojo::InterfacePtr<serial::DataSource> source;
- service->Connect(path,
- serial::ConnectionOptions::New(),
- mojo::GetProxy(&connection),
- mojo::GetProxy(&sink),
- mojo::GetProxy(&source));
+ mojo::InterfacePtr<serial::DataSourceClient> source_client;
+ mojo::GetProxy(&source_client);
+ service->Connect(path, serial::ConnectionOptions::New(),
+ mojo::GetProxy(&connection), mojo::GetProxy(&sink),
+ mojo::GetProxy(&source), source_client.Pass());
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