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

Unified Diff: device/serial/serial_connection.cc

Issue 2326913003: Privatize StrongBinding lifetime management (Closed)
Patch Set: rebase Created 4 years, 3 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_connection.h ('k') | device/serial/serial_connection_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/serial_connection.cc
diff --git a/device/serial/serial_connection.cc b/device/serial/serial_connection.cc
index 31cf34163dfbd67d526456ce23b72d94826c14e0..ccf0e176f9d88a350a6c3de14b638c555a320c20 100644
--- a/device/serial/serial_connection.cc
+++ b/device/serial/serial_connection.cc
@@ -18,9 +18,8 @@ SerialConnection::SerialConnection(
scoped_refptr<SerialIoHandler> io_handler,
mojo::InterfaceRequest<serial::DataSink> sink,
mojo::InterfaceRequest<serial::DataSource> source,
- mojo::InterfacePtr<serial::DataSourceClient> source_client,
- mojo::InterfaceRequest<serial::Connection> request)
- : io_handler_(io_handler), binding_(this, std::move(request)) {
+ mojo::InterfacePtr<serial::DataSourceClient> source_client)
+ : io_handler_(io_handler) {
receiver_ = new DataSinkReceiver(
std::move(sink),
base::Bind(&SerialConnection::OnSendPipeReady, base::Unretained(this)),
« no previous file with comments | « device/serial/serial_connection.h ('k') | device/serial/serial_connection_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698