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

Unified Diff: chrome/utility/safe_browsing/mac/udif.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/udif.h
diff --git a/chrome/utility/safe_browsing/mac/udif.h b/chrome/utility/safe_browsing/mac/udif.h
index 2b330bec75df4c84035a8075ba4c60f0d990e0bd..0660dc7b75f80d1be090aad94452f0b7fcd193b6 100644
--- a/chrome/utility/safe_browsing/mac/udif.h
+++ b/chrome/utility/safe_browsing/mac/udif.h
@@ -16,7 +16,6 @@
#include "base/mac/scoped_cftyperef.h"
#include "base/macros.h"
-#include "base/memory/scoped_vector.h"
namespace safe_browsing {
namespace dmg {
@@ -77,7 +76,8 @@ class UDIFParser {
ReadStream* const stream_; // The stream backing the UDIF image. Weak.
std::vector<std::string> partition_names_; // The names of all partitions.
- ScopedVector<const UDIFBlock> blocks_; // All blocks in the UDIF image.
+ std::vector<std::unique_ptr<const UDIFBlock>>
+ blocks_; // All blocks in the UDIF image.
sky 2017/04/07 14:42:14 Move to previous line.
leonhsl(Using Gerrit) 2017/04/10 08:33:06 Done.
uint16_t block_size_; // The image's block size, in bytes.
DISALLOW_COPY_AND_ASSIGN(UDIFParser);

Powered by Google App Engine
This is Rietveld 408576698