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

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

Issue 11366229: Move eintr_wrapper.h from base to base/posix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/forwarder.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 <stdio.h> 7 #include <stdio.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <unistd.h> 9 #include <unistd.h>
10 10
11 #include <vector> 11 #include <vector>
12 #include <string> 12 #include <string>
13 13
14 #include "base/command_line.h" 14 #include "base/command_line.h"
15 #include "base/eintr_wrapper.h"
16 #include "base/file_path.h" 15 #include "base/file_path.h"
17 #include "base/file_util.h" 16 #include "base/file_util.h"
18 #include "base/logging.h" 17 #include "base/logging.h"
19 #include "base/memory/scoped_vector.h" 18 #include "base/memory/scoped_vector.h"
19 #include "base/posix/eintr_wrapper.h"
20 #include "base/safe_strerror_posix.h" 20 #include "base/safe_strerror_posix.h"
21 #include "base/string_number_conversions.h" 21 #include "base/string_number_conversions.h"
22 #include "base/string_piece.h" 22 #include "base/string_piece.h"
23 #include "base/string_split.h" 23 #include "base/string_split.h"
24 #include "base/string_util.h" 24 #include "base/string_util.h"
25 #include "base/stringprintf.h" 25 #include "base/stringprintf.h"
26 #include "tools/android/forwarder2/common.h" 26 #include "tools/android/forwarder2/common.h"
27 #include "tools/android/forwarder2/daemon.h" 27 #include "tools/android/forwarder2/daemon.h"
28 #include "tools/android/forwarder2/host_controller.h" 28 #include "tools/android/forwarder2/host_controller.h"
29 #include "tools/android/forwarder2/pipe_notifier.h" 29 #include "tools/android/forwarder2/pipe_notifier.h"
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 printf("%s\n", buf); 273 printf("%s\n", buf);
274 return 0; 274 return 0;
275 } 275 }
276 276
277 } // namespace 277 } // namespace
278 } // namespace forwarder2 278 } // namespace forwarder2
279 279
280 int main(int argc, char** argv) { 280 int main(int argc, char** argv) {
281 return forwarder2::RunHostForwarder(argc, argv); 281 return forwarder2::RunHostForwarder(argc, argv);
282 } 282 }
OLDNEW
« no previous file with comments | « tools/android/forwarder2/forwarder.cc ('k') | tools/android/forwarder2/pipe_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698