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

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

Issue 2934373002: Record Code Signature of Downloaded DMG files (Closed)
Patch Set: correcting rebase mixup Created 3 years, 5 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
« no previous file with comments | « chrome/utility/safe_browsing/mac/dmg_analyzer.cc ('k') | chrome/utility/safe_browsing/mac/dmg_iterator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2f3c022619e09bccd9f4091be2098200ac9d424d 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();
+ // Returns the raw code signature file metadata. This will be empty for DMGs
+ // that are not signed.
+ 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();
« no previous file with comments | « chrome/utility/safe_browsing/mac/dmg_analyzer.cc ('k') | chrome/utility/safe_browsing/mac/dmg_iterator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698