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

Side by Side Diff: chrome/test/chromedriver/chrome_launcher.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_launcher.h" 5 #include "chrome/test/chromedriver/chrome_launcher.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/base64.h" 10 #include "base/base64.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/format_macros.h" 14 #include "base/format_macros.h"
15 #include "base/json/json_reader.h" 15 #include "base/json/json_reader.h"
16 #include "base/json/json_writer.h" 16 #include "base/json/json_writer.h"
17 #include "base/logging.h" 17 #include "base/logging.h"
18 #include "base/process.h" 18 #include "base/process.h"
19 #include "base/process_util.h" 19 #include "base/process_util.h"
20 #include "base/string_util.h"
21 #include "base/stringprintf.h"
22 #include "base/strings/string_number_conversions.h" 20 #include "base/strings/string_number_conversions.h"
23 #include "base/strings/string_split.h" 21 #include "base/strings/string_split.h"
22 #include "base/strings/string_util.h"
23 #include "base/strings/stringprintf.h"
24 #include "base/strings/utf_string_conversions.h" 24 #include "base/strings/utf_string_conversions.h"
25 #include "base/threading/platform_thread.h" 25 #include "base/threading/platform_thread.h"
26 #include "base/time.h" 26 #include "base/time.h"
27 #include "base/values.h" 27 #include "base/values.h"
28 #include "chrome/test/chromedriver/chrome/chrome_android_impl.h" 28 #include "chrome/test/chromedriver/chrome/chrome_android_impl.h"
29 #include "chrome/test/chromedriver/chrome/chrome_desktop_impl.h" 29 #include "chrome/test/chromedriver/chrome/chrome_desktop_impl.h"
30 #include "chrome/test/chromedriver/chrome/chrome_finder.h" 30 #include "chrome/test/chromedriver/chrome/chrome_finder.h"
31 #include "chrome/test/chromedriver/chrome/device_manager.h" 31 #include "chrome/test/chromedriver/chrome/device_manager.h"
32 #include "chrome/test/chromedriver/chrome/devtools_http_client.h" 32 #include "chrome/test/chromedriver/chrome/devtools_http_client.h"
33 #include "chrome/test/chromedriver/chrome/embedded_automation_extension.h" 33 #include "chrome/test/chromedriver/chrome/embedded_automation_extension.h"
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 // Write empty "First Run" file, otherwise Chrome will wipe the default 454 // Write empty "First Run" file, otherwise Chrome will wipe the default
455 // profile that was written. 455 // profile that was written.
456 if (file_util::WriteFile( 456 if (file_util::WriteFile(
457 user_data_dir.AppendASCII("First Run"), "", 0) != 0) { 457 user_data_dir.AppendASCII("First Run"), "", 0) != 0) {
458 return Status(kUnknownError, "failed to write first run file"); 458 return Status(kUnknownError, "failed to write first run file");
459 } 459 }
460 return Status(kOk); 460 return Status(kOk);
461 } 461 }
462 462
463 } // namespace internal 463 } // namespace internal
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/chrome/zip_reader.cc ('k') | chrome/test/chromedriver/command_executor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698