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

Unified Diff: chrome/utility/safe_browsing/mac/dmg_iterator.h

Issue 2934373002: Record Code Signature of Downloaded DMG files (Closed)
Patch Set: adjusted test file path names Created 3 years, 6 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/dmg_iterator.h
diff --git a/chrome/utility/safe_browsing/mac/dmg_iterator.h b/chrome/utility/safe_browsing/mac/dmg_iterator.h
index 74f17b0680038ad5d4f69a2374f029211878e49b..c4a5ec7c582854cebadc7bc16e5fa9b8feccdfeb 100644
--- a/chrome/utility/safe_browsing/mac/dmg_iterator.h
+++ b/chrome/utility/safe_browsing/mac/dmg_iterator.h
@@ -37,6 +37,10 @@ class DMGIterator {
// invalid element before the first item.
bool Open();
+ uint64_t GetDmgSignatureLength();
+
+ uint8_t* GetDmgSignatureData();
Robert Sesek 2017/06/26 18:56:33 This method needs a comment.
Robert Sesek 2017/06/26 18:56:33 naming: GetCodeSignature() Using a vector will al
mortonm 2017/06/27 16:36:23 Done.
mortonm 2017/06/27 16:36:23 Done.
+
// Advances the iterator to the next file item. Returns true on success
// and false on end-of-iterator.
bool Next();

Powered by Google App Engine
This is Rietveld 408576698