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

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

Issue 2934373002: Record Code Signature of Downloaded DMG files (Closed)
Patch Set: simplifying data structures in download_protection_service.cc 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..96012497cb35f9ad8efab8bf238db17939a77e9c 100644
--- a/chrome/utility/safe_browsing/mac/dmg_iterator.h
+++ b/chrome/utility/safe_browsing/mac/dmg_iterator.h
@@ -37,6 +37,9 @@ class DMGIterator {
// invalid element before the first item.
bool Open();
+ // Returns the raw code signature file metadata.
+ const std::vector<uint8_t>& GetCodeSignature();
+
// 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