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

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

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.cc
diff --git a/tools/android/forwarder2/host_controller.cc b/tools/android/forwarder2/host_controller.cc
index 25b253af3b9d4ecc8126bc47278259d404004218..6fb3c81c5e8018dbdaa60beccba319769b0b4c3b 100644
--- a/tools/android/forwarder2/host_controller.cc
+++ b/tools/android/forwarder2/host_controller.cc
@@ -48,9 +48,8 @@ std::unique_ptr<HostController> HostController::Create(
return host_controller;
}
host_controller.reset(new HostController(
- device_port_allocated, host_port, adb_port, exit_notifier_fd,
- error_callback, std::move(adb_control_socket),
- std::move(delete_controller_notifier)));
+ device_port_allocated, host_port, adb_port, error_callback,
+ std::move(adb_control_socket), std::move(delete_controller_notifier)));
return host_controller;
}
@@ -68,7 +67,6 @@ 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)
@@ -76,7 +74,6 @@ HostController::HostController(
device_port_(device_port),
host_port_(host_port),
adb_port_(adb_port),
- global_exit_notifier_fd_(exit_notifier_fd),
adb_control_socket_(std::move(adb_control_socket)),
delete_controller_notifier_(std::move(delete_controller_notifier)),
deletion_task_runner_(base::ThreadTaskRunnerHandle::Get()),
« gpu/command_buffer/service/program_manager.cc ('K') | « tools/android/forwarder2/host_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698