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

Unified Diff: chrome/browser/password_manager/password_store_x_unittest.cc

Issue 3347005: Moving file_util::FileInfo to base::PlatformFileInfo, and adding the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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: chrome/browser/password_manager/password_store_x_unittest.cc
===================================================================
--- chrome/browser/password_manager/password_store_x_unittest.cc (revision 58317)
+++ chrome/browser/password_manager/password_store_x_unittest.cc (working copy)
@@ -600,7 +600,7 @@
// 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 @@
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 @@
// 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);
}

Powered by Google App Engine
This is Rietveld 408576698