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

Unified Diff: chrome/browser/password_manager/password_store_x_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: chrome/browser/password_manager/password_store_x_unittest.cc
diff --git a/chrome/browser/password_manager/password_store_x_unittest.cc b/chrome/browser/password_manager/password_store_x_unittest.cc
index aae8733fe5322a60474b4dc21e82ca4d4b363d7a..253a23a6ccfa7aa9ca2fa03f25596ad450e00f6a 100644
--- a/chrome/browser/password_manager/password_store_x_unittest.cc
+++ b/chrome/browser/password_manager/password_store_x_unittest.cc
@@ -378,7 +378,7 @@ TEST_P(PasswordStoreXTest, NativeMigration) {
// This will be used later to make sure it gets back to this size.
const base::FilePath login_db_file = temp_dir_.path().Append("login_test");
base::PlatformFileInfo db_file_start_info;
- ASSERT_TRUE(file_util::GetFileInfo(login_db_file, &db_file_start_info));
+ ASSERT_TRUE(base::GetFileInfo(login_db_file, &db_file_start_info));
LoginDatabase* login_db = login_db_.get();
@@ -394,7 +394,7 @@ TEST_P(PasswordStoreXTest, NativeMigration) {
// Get the new size of the login DB file. We expect it to be larger.
base::PlatformFileInfo db_file_full_info;
- ASSERT_TRUE(file_util::GetFileInfo(login_db_file, &db_file_full_info));
+ ASSERT_TRUE(base::GetFileInfo(login_db_file, &db_file_full_info));
EXPECT_GT(db_file_full_info.size, db_file_start_info.size);
// Initializing the PasswordStore shouldn't trigger a native migration (yet).
@@ -468,7 +468,7 @@ TEST_P(PasswordStoreXTest, NativeMigration) {
// size is equal to the size before we populated it, even though it was
// larger after populating it.
base::PlatformFileInfo db_file_end_info;
- ASSERT_TRUE(file_util::GetFileInfo(login_db_file, &db_file_end_info));
+ ASSERT_TRUE(base::GetFileInfo(login_db_file, &db_file_end_info));
EXPECT_EQ(db_file_start_info.size, db_file_end_info.size);
}
« no previous file with comments | « chrome/browser/media_galleries/fileapi/native_media_file_util.cc ('k') | chrome/browser/policy/cloud/resource_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698