Index: tools/android/forwarder2/host_controller.h |
diff --git a/tools/android/forwarder2/host_controller.h b/tools/android/forwarder2/host_controller.h |
index 20241d35ba8e3bf65d7bbcce37cf3230da5f9f3c..e6a25e1e42678117e25eeb0cc2b649ac37c63159 100644 |
--- a/tools/android/forwarder2/host_controller.h |
+++ b/tools/android/forwarder2/host_controller.h |
@@ -39,6 +39,7 @@ class HostController { |
// If |device_port| is zero then a dynamic port is allocated (and retrievable |
// through device_port() below). |
static std::unique_ptr<HostController> Create( |
+ const std::string& device_serial, |
int device_port, |
int host_port, |
int adb_port, |
@@ -55,7 +56,8 @@ class HostController { |
int device_port() const { return device_port_; } |
private: |
- HostController(int device_port, |
+ HostController(const std::string& device_serial, |
+ int device_port, |
int host_port, |
int adb_port, |
const ErrorCallback& error_callback, |
@@ -73,6 +75,7 @@ class HostController { |
void UnmapPortOnDevice(); |
SelfDeleterHelper<HostController> self_deleter_helper_; |
+ const std::string device_serial_; |
const int device_port_; |
const int host_port_; |
const int adb_port_; |