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

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

Issue 15851009: Use a direct include of strings headers in testing/, third_party/, tools/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/android/forwarder2/daemon.cc ('k') | tools/android/forwarder2/host_forwarder_main.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 <signal.h> 5 #include <signal.h>
6 #include <stdio.h> 6 #include <stdio.h>
7 #include <stdlib.h> 7 #include <stdlib.h>
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/at_exit.h" 11 #include "base/at_exit.h"
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/command_line.h" 13 #include "base/command_line.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/stringprintf.h"
17 #include "base/strings/string_piece.h" 16 #include "base/strings/string_piece.h"
17 #include "base/strings/stringprintf.h"
18 #include "base/threading/thread.h" 18 #include "base/threading/thread.h"
19 #include "tools/android/forwarder2/common.h" 19 #include "tools/android/forwarder2/common.h"
20 #include "tools/android/forwarder2/daemon.h" 20 #include "tools/android/forwarder2/daemon.h"
21 #include "tools/android/forwarder2/device_controller.h" 21 #include "tools/android/forwarder2/device_controller.h"
22 #include "tools/android/forwarder2/pipe_notifier.h" 22 #include "tools/android/forwarder2/pipe_notifier.h"
23 23
24 namespace forwarder2 { 24 namespace forwarder2 {
25 namespace { 25 namespace {
26 26
27 // Leaky global instance, accessed from the signal handler. 27 // Leaky global instance, accessed from the signal handler.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 return 1; 171 return 1;
172 return client_delegate.has_failed(); 172 return client_delegate.has_failed();
173 } 173 }
174 174
175 } // namespace 175 } // namespace
176 } // namespace forwarder2 176 } // namespace forwarder2
177 177
178 int main(int argc, char** argv) { 178 int main(int argc, char** argv) {
179 return forwarder2::RunDeviceForwarder(argc, argv); 179 return forwarder2::RunDeviceForwarder(argc, argv);
180 } 180 }
OLDNEW
« no previous file with comments | « tools/android/forwarder2/daemon.cc ('k') | tools/android/forwarder2/host_forwarder_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698