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

Unified Diff: device/serial/data_receiver.h

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 | « no previous file | device/serial/data_receiver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/serial/data_receiver.h
diff --git a/device/serial/data_receiver.h b/device/serial/data_receiver.h
index 942bb5ced83902d4e077175708644ffa882f6748..95be6402085adc8cc7d9808713278dcc295642d8 100644
--- a/device/serial/data_receiver.h
+++ b/device/serial/data_receiver.h
@@ -29,6 +29,7 @@ class DataReceiver : public base::RefCounted<DataReceiver>,
// size of |buffer_size|, with connection errors reported as
// |fatal_error_value|.
DataReceiver(mojo::InterfacePtr<serial::DataSource> source,
+ mojo::InterfaceRequest<serial::DataSourceClient> client,
uint32_t buffer_size,
int32_t fatal_error_value);
@@ -72,6 +73,7 @@ class DataReceiver : public base::RefCounted<DataReceiver>,
// The control connection to the data source.
mojo::InterfacePtr<serial::DataSource> source_;
+ mojo::Binding<serial::DataSourceClient> client_;
// The error value to report in the event of a fatal error.
const int32_t fatal_error_value_;
« no previous file with comments | « no previous file | device/serial/data_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698