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

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

Issue 2613223002: Remove ScopedVector from base::JSONValueConverter (Closed)
Patch Set: Add a TODO 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..66f6d47e9c5821f73877659c0a550998a53b4aa1 100644
--- a/components/drive/chromeos/fake_file_system.cc
+++ b/components/drive/chromeos/fake_file_system.cc
@@ -404,7 +404,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 =
hidehiko 2017/01/10 06:44:36 Ditto for include.
leonhsl(Using Gerrit) 2017/01/10 09:48:13 Done.
+ file_list->items();
for (size_t i = 0; i < entries.size(); ++i) {
std::unique_ptr<ResourceEntry> entry(new ResourceEntry);
std::string parent_resource_id;

Powered by Google App Engine
This is Rietveld 408576698