From 2f0193c279b1b40a82a6ad027ec9468272eb25b2 Mon Sep 17 00:00:00 2001 From: "dumi@chromium.org" Date: Fri, 3 Sep 2010 02:28:37 +0000 Subject: Moving file_util::FileInfo to base::PlatformFileInfo, and adding the last_accessed and creation_time fields. BUG=none TEST=none Review URL: http://codereview.chromium.org/3347005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58454 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/password_manager/password_store_x_unittest.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/browser/password_manager') diff --git a/chrome/browser/password_manager/password_store_x_unittest.cc b/chrome/browser/password_manager/password_store_x_unittest.cc index b8f56db..1bb1ab3 100644 --- a/chrome/browser/password_manager/password_store_x_unittest.cc +++ b/chrome/browser/password_manager/password_store_x_unittest.cc @@ -600,7 +600,7 @@ TEST_P(PasswordStoreXTest, NativeMigration) { // Get the initial size of the login DB file, before we populate it. // This will be used later to make sure it gets back to this size. const FilePath login_db_file = temp_dir_.path().Append("login_test"); - file_util::FileInfo db_file_start_info; + base::PlatformFileInfo db_file_start_info; ASSERT_TRUE(file_util::GetFileInfo(login_db_file, &db_file_start_info)); LoginDatabase* login_db = login_db_.get(); @@ -630,7 +630,7 @@ TEST_P(PasswordStoreXTest, NativeMigration) { done.Wait(); // Get the new size of the login DB file. We expect it to be larger. - file_util::FileInfo db_file_full_info; + base::PlatformFileInfo db_file_full_info; ASSERT_TRUE(file_util::GetFileInfo(login_db_file, &db_file_full_info)); EXPECT_GT(db_file_full_info.size, db_file_start_info.size); @@ -717,7 +717,7 @@ TEST_P(PasswordStoreXTest, NativeMigration) { // recreated. We approximate checking for this by checking that the file // size is equal to the size before we populated it, even though it was // larger after populating it. - file_util::FileInfo db_file_end_info; + base::PlatformFileInfo db_file_end_info; ASSERT_TRUE(file_util::GetFileInfo(login_db_file, &db_file_end_info)); EXPECT_EQ(db_file_start_info.size, db_file_end_info.size); } -- cgit v1.1