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

Side by Side Diff: tools/android/forwarder2/host_forwarder_main.cc

Issue 100253002: Don't HANDLE_EINTR(close). Either IGNORE_EINTR(close) or just close. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/android/forwarder2/common.cc ('k') | tools/android/forwarder2/pipe_notifier.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « tools/android/forwarder2/common.cc ('k') | tools/android/forwarder2/pipe_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698