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..3bb1aa7f46fd632dcf31c0a8f6ef5aa39fb94d70 100644 |
--- a/chrome/utility/safe_browsing/mac/udif.h |
+++ b/chrome/utility/safe_browsing/mac/udif.h |
@@ -51,6 +51,11 @@ class UDIFParser { |
// If this returns false, it is not legal to call any other methods. |
bool Parse(); |
+ uint64_t GetDmgSignatureLength(); |
+ |
+ // Returns a pointer to the buffer storing the blob of DMG signature data. |
+ uint8_t* GetDmgSignatureData(); |
Robert Sesek
2017/06/26 18:56:33
This should return |const std::vector<uint8_t>&|.
mortonm
2017/06/27 16:36:23
Done.
|
+ |
// Returns the number of partitions in this UDIF image. |
size_t GetNumberOfPartitions(); |
@@ -79,6 +84,8 @@ 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. |
+ uint8_t* signature_blob_data_; // Data that comprises the DMG signature |
+ uint64_t signature_blob_length_; // Length of the signature in bytes |
DISALLOW_COPY_AND_ASSIGN(UDIFParser); |
}; |