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

Side by Side Diff: chrome/test/chromedriver/util.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/util.h" 5 #include "chrome/test/chromedriver/util.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/files/file_enumerator.h" 9 #include "base/files/file_enumerator.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
11 #include "base/format_macros.h" 11 #include "base/format_macros.h"
12 #include "base/rand_util.h" 12 #include "base/rand_util.h"
13 #include "base/string16.h" 13 #include "base/strings/string16.h"
14 #include "base/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "base/stringprintf.h" 15 #include "base/strings/stringprintf.h"
16 #include "base/third_party/icu/icu_utf.h" 16 #include "base/third_party/icu/icu_utf.h"
17 #include "base/values.h" 17 #include "base/values.h"
18 #include "chrome/test/chromedriver/chrome/status.h" 18 #include "chrome/test/chromedriver/chrome/status.h"
19 #include "chrome/test/chromedriver/chrome/ui_events.h" 19 #include "chrome/test/chromedriver/chrome/ui_events.h"
20 #include "chrome/test/chromedriver/chrome/web_view.h" 20 #include "chrome/test/chromedriver/chrome/web_view.h"
21 #include "chrome/test/chromedriver/chrome/zip.h" 21 #include "chrome/test/chromedriver/chrome/zip.h"
22 #include "chrome/test/chromedriver/key_converter.h" 22 #include "chrome/test/chromedriver/key_converter.h"
23 23
24 std::string GenerateId() { 24 std::string GenerateId() {
25 uint64 msb = base::RandUint64(); 25 uint64 msb = base::RandUint64();
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 if (first_file.empty()) 390 if (first_file.empty())
391 return Status(kUnknownError, "contained 0 files"); 391 return Status(kUnknownError, "contained 0 files");
392 392
393 base::FilePath second_file = enumerator.Next(); 393 base::FilePath second_file = enumerator.Next();
394 if (!second_file.empty()) 394 if (!second_file.empty())
395 return Status(kUnknownError, "contained multiple files"); 395 return Status(kUnknownError, "contained multiple files");
396 396
397 *file = first_file; 397 *file = first_file;
398 return Status(kOk); 398 return Status(kOk);
399 } 399 }
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/server/http_response.cc ('k') | chrome/test/chromedriver/window_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698