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

Unified Diff: webkit/browser/fileapi/native_file_util_unittest.cc

Issue 101143006: Convert base::file_util to use File instead of PlatformFile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove base:: Created 6 years, 11 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 73b3e257025b3b182e30fc9ecb1dc7b6dfade6b0..587bf9a6bf95a08ccd3ab585b81200d0943212d9 100644
--- a/webkit/browser/fileapi/native_file_util_unittest.cc
+++ b/webkit/browser/fileapi/native_file_util_unittest.cc
@@ -36,7 +36,7 @@ class NativeFileUtilTest : public testing::Test {
}
int64 GetSize(const base::FilePath& path) {
- base::PlatformFileInfo info;
+ base::File::Info info;
base::GetFileInfo(path, &info);
return info.size;
}
@@ -125,7 +125,7 @@ TEST_F(NativeFileUtilTest, TouchFileAndGetFileInfo) {
NativeFileUtil::EnsureFileExists(file_name, &created));
ASSERT_TRUE(created);
- base::PlatformFileInfo info;
+ base::File::Info info;
ASSERT_TRUE(base::GetFileInfo(file_name, &info));
ASSERT_EQ(base::PLATFORM_FILE_OK,
NativeFileUtil::GetFileInfo(file_name, &native_info));
« 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