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

Side by Side Diff: tools/android/common/daemon.cc

Issue 11269036: Support HTTP test-server based net unit tests on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Clang build + sync 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
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 "tools/android/common/daemon.h" 5 #include "tools/android/common/daemon.h"
6 6
7 #include <signal.h> 7 #include <signal.h>
8 #include <stdio.h> 8 #include <stdio.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 #include <unistd.h> 10 #include <unistd.h>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 // Close the standard input and outputs, otherwise the process may block 67 // Close the standard input and outputs, otherwise the process may block
68 // adbd when the shell exits. 68 // adbd when the shell exits.
69 // Comment out these lines if you want to see outputs for debugging. 69 // Comment out these lines if you want to see outputs for debugging.
70 CloseFileDescriptor(0); 70 CloseFileDescriptor(0);
71 CloseFileDescriptor(1); 71 CloseFileDescriptor(1);
72 CloseFileDescriptor(2); 72 CloseFileDescriptor(2);
73 } 73 }
74 74
75 } // namespace tools 75 } // namespace tools
76
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698