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

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

Issue 2385143003: [android] Don't attempt to read a command on failure to start the forwarder. (Closed)
Patch Set: Created 4 years, 2 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 | tools/android/forwarder2/host_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/forwarder2/host_controller.h
diff --git a/tools/android/forwarder2/host_controller.h b/tools/android/forwarder2/host_controller.h
index e6a25e1e42678117e25eeb0cc2b649ac37c63159..1b08220bcf75c019bcf3e3137a9c2b137b3b2984 100644
--- a/tools/android/forwarder2/host_controller.h
+++ b/tools/android/forwarder2/host_controller.h
@@ -67,7 +67,7 @@ class HostController {
void ReadNextCommandSoon();
void ReadCommandOnInternalThread();
- void StartForwarder(std::unique_ptr<Socket> host_server_data_socket);
+ bool StartForwarder(std::unique_ptr<Socket> host_server_data_socket);
// Note that this gets also called when ~HostController() is invoked.
void OnInternalThreadError();
« no previous file with comments | « no previous file | tools/android/forwarder2/host_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698