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

Side by Side Diff: chrome/test/chromedriver/chrome/adb_impl.cc

Issue 16753002: Use a direct include of strings headers in chrome/test/. (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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/test/chromedriver/chrome/adb_impl.h" 5 #include "chrome/test/chromedriver/chrome/adb_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "base/message_loop/message_loop_proxy.h" 12 #include "base/message_loop/message_loop_proxy.h"
13 #include "base/stringprintf.h"
14 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/string_split.h" 14 #include "base/strings/string_split.h"
16 #include "base/strings/string_tokenizer.h" 15 #include "base/strings/string_tokenizer.h"
16 #include "base/strings/stringprintf.h"
17 #include "base/synchronization/waitable_event.h" 17 #include "base/synchronization/waitable_event.h"
18 #include "base/time.h" 18 #include "base/time.h"
19 #include "chrome/test/chromedriver/chrome/log.h" 19 #include "chrome/test/chromedriver/chrome/log.h"
20 #include "chrome/test/chromedriver/chrome/status.h" 20 #include "chrome/test/chromedriver/chrome/status.h"
21 #include "chrome/test/chromedriver/net/adb_client_socket.h" 21 #include "chrome/test/chromedriver/net/adb_client_socket.h"
22 22
23 namespace { 23 namespace {
24 24
25 // This class is bound in the callback to AdbQuery and isn't freed until the 25 // This class is bound in the callback to AdbQuery and isn't freed until the
26 // callback is run, even if the function that creates the buffer times out. 26 // callback is run, even if the function that creates the buffer times out.
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 202
203 Status AdbImpl::ExecuteHostShellCommand( 203 Status AdbImpl::ExecuteHostShellCommand(
204 const std::string& device_serial, 204 const std::string& device_serial,
205 const std::string& shell_command, 205 const std::string& shell_command,
206 std::string* response) { 206 std::string* response) {
207 return ExecuteCommand( 207 return ExecuteCommand(
208 "host:transport:" + device_serial + "|shell:" + shell_command, 208 "host:transport:" + device_serial + "|shell:" + shell_command,
209 response); 209 response);
210 } 210 }
211 211
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/capabilities.cc ('k') | chrome/test/chromedriver/chrome/console_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698