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 fbb17c9280743e2611deba7d9955657f8e175413..3d317f304179e9f549114e8ce8870c8d19118d5f 100644 |
--- a/chrome/utility/safe_browsing/mac/udif.h |
+++ b/chrome/utility/safe_browsing/mac/udif.h |
@@ -51,6 +51,9 @@ class UDIFParser { |
// If this returns false, it is not legal to call any other methods. |
bool Parse(); |
+ // Returns the blob of DMG signature data. |
+ const std::vector<uint8_t>& GetDmgSignatureData(); |
Robert Sesek
2017/06/28 18:21:06
Use the same name as in DMGIterator (GetCodeSignat
mortonm
2017/06/28 23:07:09
Done.
|
+ |
// Returns the number of partitions in this UDIF image. |
size_t GetNumberOfPartitions(); |
@@ -79,6 +82,7 @@ class UDIFParser { |
// All blocks in the UDIF image. |
std::vector<std::unique_ptr<const UDIFBlock>> blocks_; |
uint16_t block_size_; // The image's block size, in bytes. |
+ std::vector<uint8_t> signature_blob_; // DMG signature. |
DISALLOW_COPY_AND_ASSIGN(UDIFParser); |
}; |