Index: chrome/browser/download/download_path_reservation_tracker_unittest.cc |
diff --git a/chrome/browser/download/download_path_reservation_tracker_unittest.cc b/chrome/browser/download/download_path_reservation_tracker_unittest.cc |
index 8bb301d54ae72ca8ea6b16329e7434291e7e91bc..45db85a0ed1c67d2987721d97e2b51ea6af42cf8 100644 |
--- a/chrome/browser/download/download_path_reservation_tracker_unittest.cc |
+++ b/chrome/browser/download/download_path_reservation_tracker_unittest.cc |
@@ -446,9 +446,9 @@ TEST_F(DownloadPathReservationTrackerTest, UnwriteableDirectory) { |
ASSERT_FALSE(IsPathInUse(path)); |
{ |
- // Scope for PermissionRestorer |
- file_util::PermissionRestorer restorer(dir); |
- EXPECT_TRUE(file_util::MakeFileUnwritable(dir)); |
+ // Scope for FilePermissionRestorer |
+ base::FilePermissionRestorer restorer(dir); |
+ EXPECT_TRUE(base::MakeFileUnwritable(dir)); |
base::FilePath reserved_path; |
bool verified = true; |
DownloadPathReservationTracker::FilenameConflictAction conflict_action = |