Index: components/drive/chromeos/fake_file_system.cc |
diff --git a/components/drive/chromeos/fake_file_system.cc b/components/drive/chromeos/fake_file_system.cc |
index a7ef97f736b692ae5edb6f157dc5fa8ad39ce267..69b7a284d4b8e8c02b365d5591bcc658d913511c 100644 |
--- a/components/drive/chromeos/fake_file_system.cc |
+++ b/components/drive/chromeos/fake_file_system.cc |
@@ -5,7 +5,10 @@ |
#include "components/drive/chromeos/fake_file_system.h" |
#include <stddef.h> |
+ |
+#include <memory> |
#include <utility> |
+#include <vector> |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
@@ -404,7 +407,8 @@ void FakeFileSystem::GetResourceEntryAfterGetFileList( |
} |
DCHECK(file_list); |
- const ScopedVector<google_apis::FileResource>& entries = file_list->items(); |
+ const std::vector<std::unique_ptr<google_apis::FileResource>>& entries = |
+ file_list->items(); |
for (size_t i = 0; i < entries.size(); ++i) { |
std::unique_ptr<ResourceEntry> entry(new ResourceEntry); |
std::string parent_resource_id; |