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..13aee9dbf765b439c716cf963c8db4728e6e078c 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>& GetCodeSignature(); |
+ |
// 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); |
}; |