Index: chrome/browser/chromeos/file_system_provider/operations/create_directory_unittest.cc |
diff --git a/chrome/browser/chromeos/file_system_provider/operations/create_directory_unittest.cc b/chrome/browser/chromeos/file_system_provider/operations/create_directory_unittest.cc |
index 8dfc0390478c08ed70cff13ba64334145563a6da..ba6828884df94e9b393182836d1bd25529400048 100644 |
--- a/chrome/browser/chromeos/file_system_provider/operations/create_directory_unittest.cc |
+++ b/chrome/browser/chromeos/file_system_provider/operations/create_directory_unittest.cc |
@@ -4,12 +4,12 @@ |
#include "chrome/browser/chromeos/file_system_provider/operations/create_directory.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" |
@@ -134,7 +134,7 @@ TEST_F(FileSystemProviderOperationsCreateDirectoryTest, OnSuccess) { |
EXPECT_TRUE(create_directory.Execute(kRequestId)); |
create_directory.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]); |
@@ -155,7 +155,7 @@ TEST_F(FileSystemProviderOperationsCreateDirectoryTest, OnError) { |
EXPECT_TRUE(create_directory.Execute(kRequestId)); |
create_directory.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]); |