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

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

Issue 2802973003: Remove ScopedVector from chrome/ (Closed)
Patch Set: 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
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..d8ac51241f512d352e059ea584eb18c4d36a15aa 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.
+ std::vector<std::unique_ptr<ReadStream>>
+ partitions_; // Streams for all the HFS partitions.
sky 2017/04/07 14:42:14 Move the comment the previous line to avoid the ob
leonhsl(Using Gerrit) 2017/04/10 08:33:06 Done and thanks.
size_t current_partition_; // The index in |partitions_| of the current one.
std::unique_ptr<HFSIterator>
hfs_; // The HFSIterator for |current_partition_|.

Powered by Google App Engine
This is Rietveld 408576698