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

Unified Diff: chrome/test/chromedriver/chrome_launcher_unittest.cc

Issue 18286004: Move PathExists to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/chromedriver/chrome_launcher.cc ('k') | chrome/test/chromedriver/session_commands_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/chrome_launcher_unittest.cc
diff --git a/chrome/test/chromedriver/chrome_launcher_unittest.cc b/chrome/test/chromedriver/chrome_launcher_unittest.cc
index 963d928dd9efac23bb5b7bbe9336134bd24a3328..369fb9c71c264b15677e3f63159267566f88316a 100644
--- a/chrome/test/chromedriver/chrome_launcher_unittest.cc
+++ b/chrome/test/chromedriver/chrome_launcher_unittest.cc
@@ -49,7 +49,7 @@ TEST(ProcessExtensions, SingleExtension) {
ASSERT_TRUE(status.IsOk());
ASSERT_TRUE(command.HasSwitch("load-extension"));
base::FilePath temp_ext_path = command.GetSwitchValuePath("load-extension");
- ASSERT_TRUE(file_util::PathExists(temp_ext_path));
+ ASSERT_TRUE(base::PathExists(temp_ext_path));
}
TEST(ProcessExtensions, MultipleExtensions) {
@@ -84,8 +84,8 @@ TEST(ProcessExtensions, MultipleExtensions) {
std::vector<CommandLine::StringType> ext_path_list;
base::SplitString(ext_paths, FILE_PATH_LITERAL(','), &ext_path_list);
ASSERT_EQ(2u, ext_path_list.size());
- ASSERT_TRUE(file_util::PathExists(base::FilePath(ext_path_list[0])));
- ASSERT_TRUE(file_util::PathExists(base::FilePath(ext_path_list[1])));
+ ASSERT_TRUE(base::PathExists(base::FilePath(ext_path_list[0])));
+ ASSERT_TRUE(base::PathExists(base::FilePath(ext_path_list[1])));
}
namespace {
« no previous file with comments | « chrome/test/chromedriver/chrome_launcher.cc ('k') | chrome/test/chromedriver/session_commands_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698