OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <errno.h> | 5 #include <errno.h> |
6 #include <signal.h> | 6 #include <signal.h> |
7 #include <sys/types.h> | 7 #include <sys/types.h> |
8 #include <sys/wait.h> | 8 #include <sys/wait.h> |
9 #include <unistd.h> | 9 #include <unistd.h> |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "base/command_line.h" | 21 #include "base/command_line.h" |
22 #include "base/compiler_specific.h" | 22 #include "base/compiler_specific.h" |
23 #include "base/containers/hash_tables.h" | 23 #include "base/containers/hash_tables.h" |
24 #include "base/file_util.h" | 24 #include "base/file_util.h" |
25 #include "base/files/file_path.h" | 25 #include "base/files/file_path.h" |
26 #include "base/logging.h" | 26 #include "base/logging.h" |
27 #include "base/memory/linked_ptr.h" | 27 #include "base/memory/linked_ptr.h" |
28 #include "base/memory/scoped_vector.h" | 28 #include "base/memory/scoped_vector.h" |
29 #include "base/memory/weak_ptr.h" | 29 #include "base/memory/weak_ptr.h" |
30 #include "base/pickle.h" | 30 #include "base/pickle.h" |
31 #include "base/posix/eintr_wrapper.h" | |
32 #include "base/safe_strerror_posix.h" | 31 #include "base/safe_strerror_posix.h" |
33 #include "base/strings/string_number_conversions.h" | 32 #include "base/strings/string_number_conversions.h" |
34 #include "base/strings/string_piece.h" | 33 #include "base/strings/string_piece.h" |
35 #include "base/strings/string_split.h" | 34 #include "base/strings/string_split.h" |
36 #include "base/strings/string_util.h" | 35 #include "base/strings/string_util.h" |
37 #include "base/strings/stringprintf.h" | 36 #include "base/strings/stringprintf.h" |
38 #include "base/task_runner.h" | 37 #include "base/task_runner.h" |
39 #include "base/threading/thread.h" | 38 #include "base/threading/thread.h" |
40 #include "tools/android/forwarder2/common.h" | 39 #include "tools/android/forwarder2/common.h" |
41 #include "tools/android/forwarder2/daemon.h" | 40 #include "tools/android/forwarder2/daemon.h" |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 | 451 |
453 return client_delegate.has_failed() || daemon_delegate.has_failed(); | 452 return client_delegate.has_failed() || daemon_delegate.has_failed(); |
454 } | 453 } |
455 | 454 |
456 } // namespace | 455 } // namespace |
457 } // namespace forwarder2 | 456 } // namespace forwarder2 |
458 | 457 |
459 int main(int argc, char** argv) { | 458 int main(int argc, char** argv) { |
460 return forwarder2::RunHostForwarder(argc, argv); | 459 return forwarder2::RunHostForwarder(argc, argv); |
461 } | 460 } |
OLD | NEW |