Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / download / download_path_reservation_tracker_unittest.cc
index 8bb301d..902efcb 100644 (file)
@@ -2,8 +2,8 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "base/file_util.h"
 #include "base/files/file_path.h"
+#include "base/files/file_util.h"
 #include "base/files/scoped_temp_dir.h"
 #include "base/memory/weak_ptr.h"
 #include "base/message_loop/message_loop.h"
@@ -32,8 +32,8 @@ class DownloadPathReservationTrackerTest : public testing::Test {
   DownloadPathReservationTrackerTest();
 
   // testing::Test
-  virtual void SetUp() OVERRIDE;
-  virtual void TearDown() OVERRIDE;
+  void SetUp() override;
+  void TearDown() override;
 
   MockDownloadItem* CreateDownloadItem(int32 id);
   base::FilePath GetPathInDownloadsDirectory(
@@ -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 =