Index: net/url_request/url_fetcher_impl_unittest.cc |
diff --git a/net/url_request/url_fetcher_impl_unittest.cc b/net/url_request/url_fetcher_impl_unittest.cc |
index 4e42ed47deb10b90f50d2d786d5b83382fefb9d1..1a70ed4019063f1547f9d9e6def17aff58ebefa8 100644 |
--- a/net/url_request/url_fetcher_impl_unittest.cc |
+++ b/net/url_request/url_fetcher_impl_unittest.cc |
@@ -1369,7 +1369,7 @@ TEST_F(URLFetcherFileTest, SmallGet) { |
base::MessageLoop::current()->Run(); // OnURLFetchComplete() will Quit(). |
- ASSERT_FALSE(file_util::PathExists(file_path_)) |
+ ASSERT_FALSE(base::PathExists(file_path_)) |
<< file_path_.value() << " not removed."; |
} |
@@ -1417,7 +1417,7 @@ TEST_F(URLFetcherFileTest, SavedOutputFileOwnerhisp) { |
base::MessageLoop::current()->Run(); // OnURLFetchComplete() will Quit(). |
base::MessageLoop::current()->RunUntilIdle(); |
- ASSERT_EQ(kTake[i], file_util::PathExists(file_path_)) << |
+ ASSERT_EQ(kTake[i], base::PathExists(file_path_)) << |
"FilePath: " << file_path_.value(); |
} |
} |
@@ -1437,7 +1437,7 @@ TEST_F(URLFetcherFileTest, OverwriteExistingFile) { |
file_path_ = temp_dir.path().AppendASCII(kFileToFetch); |
ASSERT_EQ(static_cast<int>(data.size()), |
file_util::WriteFile(file_path_, data.data(), data.size())); |
- ASSERT_TRUE(file_util::PathExists(file_path_)); |
+ ASSERT_TRUE(base::PathExists(file_path_)); |
expected_file_ = test_server.GetDocumentRoot().AppendASCII(kFileToFetch); |
ASSERT_FALSE(file_util::ContentsEqual(file_path_, expected_file_)); |
@@ -1462,7 +1462,7 @@ TEST_F(URLFetcherFileTest, TryToOverwriteDirectory) { |
static const char kFileToFetch[] = "simple.html"; |
file_path_ = temp_dir.path().AppendASCII(kFileToFetch); |
ASSERT_TRUE(file_util::CreateDirectory(file_path_)); |
- ASSERT_TRUE(file_util::PathExists(file_path_)); |
+ ASSERT_TRUE(base::PathExists(file_path_)); |
// Get a small file. |
expected_file_error_ = ERR_ACCESS_DENIED; |
@@ -1490,7 +1490,7 @@ TEST_F(URLFetcherFileTest, SmallGetToTempFile) { |
base::MessageLoop::current()->Run(); // OnURLFetchComplete() will Quit(). |
- ASSERT_FALSE(file_util::PathExists(file_path_)) |
+ ASSERT_FALSE(base::PathExists(file_path_)) |
<< file_path_.value() << " not removed."; |
} |
@@ -1531,7 +1531,7 @@ TEST_F(URLFetcherFileTest, SavedOutputTempFileOwnerhisp) { |
base::MessageLoop::current()->Run(); // OnURLFetchComplete() will Quit(). |
base::MessageLoop::current()->RunUntilIdle(); |
- ASSERT_EQ(kTake[i], file_util::PathExists(file_path_)) << |
+ ASSERT_EQ(kTake[i], base::PathExists(file_path_)) << |
"FilePath: " << file_path_.value(); |
} |
} |