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

Unified Diff: content/browser/fileapi/file_system_operation_impl_unittest.cc

Issue 105293002: Move more file_util functions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
Index: content/browser/fileapi/file_system_operation_impl_unittest.cc
diff --git a/content/browser/fileapi/file_system_operation_impl_unittest.cc b/content/browser/fileapi/file_system_operation_impl_unittest.cc
index 06489b8dbbfdf50b3401a6a3e68eb49e7961f85f..236cc8e2fb26f3940da532c1784571ae4f041c37 100644
--- a/content/browser/fileapi/file_system_operation_impl_unittest.cc
+++ b/content/browser/fileapi/file_system_operation_impl_unittest.cc
@@ -159,7 +159,7 @@ class FileSystemOperationImplTest
int64 GetFileSize(const std::string& path) {
base::PlatformFileInfo info;
- EXPECT_TRUE(file_util::GetFileInfo(PlatformPath(path), &info));
+ EXPECT_TRUE(base::GetFileInfo(PlatformPath(path), &info));
return info.size;
}
@@ -1065,7 +1065,7 @@ TEST_F(FileSystemOperationImplTest, TestTouchFile) {
base::FilePath platform_path = PlatformPath("file");
base::PlatformFileInfo info;
- EXPECT_TRUE(file_util::GetFileInfo(platform_path, &info));
+ EXPECT_TRUE(base::GetFileInfo(platform_path, &info));
EXPECT_FALSE(info.is_directory);
EXPECT_EQ(0, info.size);
const base::Time last_modified = info.last_modified;
@@ -1083,7 +1083,7 @@ TEST_F(FileSystemOperationImplTest, TestTouchFile) {
EXPECT_EQ(base::PLATFORM_FILE_OK, status());
EXPECT_TRUE(change_observer()->HasNoChange());
- EXPECT_TRUE(file_util::GetFileInfo(platform_path, &info));
+ EXPECT_TRUE(base::GetFileInfo(platform_path, &info));
// We compare as time_t here to lower our resolution, to avoid false
// negatives caused by conversion to the local filesystem's native
// representation and back.
« no previous file with comments | « content/browser/fileapi/dragged_file_util_unittest.cc ('k') | content/browser/fileapi/local_file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698