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

Unified Diff: webkit/browser/fileapi/native_file_util_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 | « webkit/browser/fileapi/native_file_util.cc ('k') | webkit/browser/fileapi/obfuscated_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/fileapi/native_file_util_unittest.cc
diff --git a/webkit/browser/fileapi/native_file_util_unittest.cc b/webkit/browser/fileapi/native_file_util_unittest.cc
index e42effbdcf873dc44224d265a8635532643c8f75..3b99ab11656297ea97718c014ed0394f7f694d47 100644
--- a/webkit/browser/fileapi/native_file_util_unittest.cc
+++ b/webkit/browser/fileapi/native_file_util_unittest.cc
@@ -29,7 +29,7 @@ class NativeFileUtilTest : public testing::Test {
}
bool FileExists(const base::FilePath& path) {
- return file_util::PathExists(path) &&
+ return base::PathExists(path) &&
!file_util::DirectoryExists(path);
}
@@ -56,7 +56,7 @@ TEST_F(NativeFileUtilTest, CreateCloseAndDeleteFile) {
&file_handle, &created));
ASSERT_TRUE(created);
- EXPECT_TRUE(file_util::PathExists(file_name));
+ EXPECT_TRUE(base::PathExists(file_name));
EXPECT_TRUE(NativeFileUtil::PathExists(file_name));
EXPECT_EQ(0, GetSize(file_name));
EXPECT_NE(base::kInvalidPlatformFileValue, file_handle);
@@ -72,7 +72,7 @@ TEST_F(NativeFileUtilTest, CreateCloseAndDeleteFile) {
ASSERT_EQ(base::PLATFORM_FILE_OK,
NativeFileUtil::DeleteFile(file_name));
- EXPECT_FALSE(file_util::PathExists(file_name));
+ EXPECT_FALSE(base::PathExists(file_name));
EXPECT_FALSE(NativeFileUtil::PathExists(file_name));
}
« no previous file with comments | « webkit/browser/fileapi/native_file_util.cc ('k') | webkit/browser/fileapi/obfuscated_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698