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

Unified Diff: chrome/browser/sync_file_system/drive_backend/metadata_database_index.h

Issue 2613223002: Remove ScopedVector from base::JSONValueConverter (Closed)
Patch Set: 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: chrome/browser/sync_file_system/drive_backend/metadata_database_index.h
diff --git a/chrome/browser/sync_file_system/drive_backend/metadata_database_index.h b/chrome/browser/sync_file_system/drive_backend/metadata_database_index.h
index 5c7aa62aa883a1fa431908800fb7c3325341c532..38ff499d0e1e71497ed3988375e22ae2684a07d4 100644
--- a/chrome/browser/sync_file_system/drive_backend/metadata_database_index.h
+++ b/chrome/browser/sync_file_system/drive_backend/metadata_database_index.h
@@ -17,7 +17,6 @@
#include "base/containers/hash_tables.h"
#include "base/hash.h"
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "chrome/browser/sync_file_system/drive_backend/metadata_database_index_interface.h"
#include "chrome/browser/sync_file_system/drive_backend/tracker_id_set.h"
@@ -49,8 +48,8 @@ namespace drive_backend {
struct DatabaseContents {
DatabaseContents();
~DatabaseContents();
- ScopedVector<FileMetadata> file_metadata;
- ScopedVector<FileTracker> file_trackers;
+ std::vector<std::unique_ptr<FileMetadata>> file_metadata;
+ std::vector<std::unique_ptr<FileTracker>> file_trackers;
};
// Maintains indexes of MetadataDatabase on memory.

Powered by Google App Engine
This is Rietveld 408576698