Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Unified Diff: components/drive/chromeos/fake_file_system.cc

Issue 2613223002: Remove ScopedVector from base::JSONValueConverter (Closed)
Patch Set: Rebase and address comments from mmenke@ Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « components/drive/chromeos/change_list_processor.cc ('k') | components/drive/chromeos/file_system/search_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698