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

Unified Diff: chrome/utility/safe_browsing/mac/dmg_iterator.h

Issue 2802973003: Remove ScopedVector from chrome/ (Closed)
Patch Set: Address comments from sky@ Created 3 years, 8 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
« no previous file with comments | « chrome/utility/chrome_content_utility_client.cc ('k') | chrome/utility/safe_browsing/mac/dmg_iterator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/safe_browsing/mac/dmg_iterator.h
diff --git a/chrome/utility/safe_browsing/mac/dmg_iterator.h b/chrome/utility/safe_browsing/mac/dmg_iterator.h
index f4ebc0ce01c37eea89f1b6a70d467fb732dc7a0b..74f17b0680038ad5d4f69a2374f029211878e49b 100644
--- a/chrome/utility/safe_browsing/mac/dmg_iterator.h
+++ b/chrome/utility/safe_browsing/mac/dmg_iterator.h
@@ -8,9 +8,9 @@
#include <stddef.h>
#include <memory>
+#include <vector>
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
#include "base/strings/string16.h"
#include "chrome/utility/safe_browsing/mac/udif.h"
@@ -49,7 +49,8 @@ class DMGIterator {
private:
UDIFParser udif_; // The UDIF parser that accesses the partitions.
- ScopedVector<ReadStream> partitions_; // Streams for all the HFS partitions.
+ // Streams for all the HFS partitions.
+ std::vector<std::unique_ptr<ReadStream>> partitions_;
size_t current_partition_; // The index in |partitions_| of the current one.
std::unique_ptr<HFSIterator>
hfs_; // The HFSIterator for |current_partition_|.
« no previous file with comments | « chrome/utility/chrome_content_utility_client.cc ('k') | chrome/utility/safe_browsing/mac/dmg_iterator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698