Chromium Code Reviews| 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_|. |