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

Unified Diff: tools/android/forwarder2/host_controller.h

Issue 1995983002: Fix "unused variable" warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: tools/android/forwarder2/host_controller.h
diff --git a/tools/android/forwarder2/host_controller.h b/tools/android/forwarder2/host_controller.h
index 73282451aea841e46dfadf0717662e769ad5308a..20241d35ba8e3bf65d7bbcce37cf3230da5f9f3c 100644
--- a/tools/android/forwarder2/host_controller.h
+++ b/tools/android/forwarder2/host_controller.h
@@ -58,7 +58,6 @@ class HostController {
HostController(int device_port,
int host_port,
int adb_port,
- int exit_notifier_fd,
const ErrorCallback& error_callback,
std::unique_ptr<Socket> adb_control_socket,
std::unique_ptr<PipeNotifier> delete_controller_notifier);
@@ -77,8 +76,6 @@ class HostController {
const int device_port_;
const int host_port_;
const int adb_port_;
- // Used to notify the controller when the process is killed.
- const int global_exit_notifier_fd_;
std::unique_ptr<Socket> adb_control_socket_;
// Used to cancel the pending blocking IO operations when the host controller
// instance is deleted.

Powered by Google App Engine
This is Rietveld 408576698