Index: chrome/browser/chromeos/file_system_provider/operations/copy_entry_unittest.cc |
diff --git a/chrome/browser/chromeos/file_system_provider/operations/copy_entry_unittest.cc b/chrome/browser/chromeos/file_system_provider/operations/copy_entry_unittest.cc |
index 606692db9b99942b2577e0cde99a08325c0e7e07..7e2191256df0445dcb74634780f411d648c4ef15 100644 |
--- a/chrome/browser/chromeos/file_system_provider/operations/copy_entry_unittest.cc |
+++ b/chrome/browser/chromeos/file_system_provider/operations/copy_entry_unittest.cc |
@@ -4,12 +4,12 @@ |
#include "chrome/browser/chromeos/file_system_provider/operations/copy_entry.h" |
+#include <memory> |
#include <string> |
#include <vector> |
#include "base/files/file.h" |
#include "base/files/file_path.h" |
-#include "base/memory/scoped_ptr.h" |
#include "chrome/browser/chromeos/file_system_provider/operations/test_util.h" |
#include "chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h" |
#include "chrome/common/extensions/api/file_system_provider.h" |
@@ -131,7 +131,7 @@ TEST_F(FileSystemProviderOperationsCopyEntryTest, OnSuccess) { |
EXPECT_TRUE(copy_entry.Execute(kRequestId)); |
copy_entry.OnSuccess(kRequestId, |
- scoped_ptr<RequestValue>(new RequestValue()), |
+ std::unique_ptr<RequestValue>(new RequestValue()), |
false /* has_more */); |
ASSERT_EQ(1u, callback_log.size()); |
EXPECT_EQ(base::File::FILE_OK, callback_log[0]); |
@@ -151,7 +151,7 @@ TEST_F(FileSystemProviderOperationsCopyEntryTest, OnError) { |
EXPECT_TRUE(copy_entry.Execute(kRequestId)); |
copy_entry.OnError(kRequestId, |
- scoped_ptr<RequestValue>(new RequestValue()), |
+ std::unique_ptr<RequestValue>(new RequestValue()), |
base::File::FILE_ERROR_TOO_MANY_OPENED); |
ASSERT_EQ(1u, callback_log.size()); |
EXPECT_EQ(base::File::FILE_ERROR_TOO_MANY_OPENED, callback_log[0]); |