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

Unified Diff: content/browser/fileapi/local_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
Index: content/browser/fileapi/local_file_util_unittest.cc
diff --git a/content/browser/fileapi/local_file_util_unittest.cc b/content/browser/fileapi/local_file_util_unittest.cc
index 40995d6931081bb7db56c875f51e0c939c7a8a3c..5e831446206c3eb77405017fd4ee16b3e6f9f34a 100644
--- a/content/browser/fileapi/local_file_util_unittest.cc
+++ b/content/browser/fileapi/local_file_util_unittest.cc
@@ -84,7 +84,7 @@ class LocalFileUtilTest : public testing::Test {
}
int64 GetSize(const char *file_name) {
- base::PlatformFileInfo info;
+ base::File::Info info;
base::GetFileInfo(LocalPath(file_name), &info);
return info.size;
}
@@ -191,7 +191,7 @@ TEST_F(LocalFileUtilTest, TouchFile) {
scoped_ptr<FileSystemOperationContext> context(NewContext());
- base::PlatformFileInfo info;
+ base::File::Info info;
ASSERT_TRUE(base::GetFileInfo(LocalPath(file_name), &info));
const base::Time new_accessed =
info.last_accessed + base::TimeDelta::FromHours(10);
@@ -219,7 +219,7 @@ TEST_F(LocalFileUtilTest, TouchDirectory) {
false /* exclusive */,
false /* recursive */));
- base::PlatformFileInfo info;
+ base::File::Info info;
ASSERT_TRUE(base::GetFileInfo(LocalPath(dir_name), &info));
const base::Time new_accessed =
info.last_accessed + base::TimeDelta::FromHours(10);
« no previous file with comments | « content/browser/fileapi/file_system_operation_impl_unittest.cc ('k') | content/browser/indexed_db/indexed_db_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698