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

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

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_iterator.h ('k') | chrome/utility/safe_browsing/mac/udif.h » ('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.cc
diff --git a/chrome/utility/safe_browsing/mac/dmg_iterator.cc b/chrome/utility/safe_browsing/mac/dmg_iterator.cc
index 75f0512074276c2c1fd4ff2a45c6189d91cc75f9..8d883aadde4a19f1f5cfa5fb25f39f0a11d3f7bc 100644
--- a/chrome/utility/safe_browsing/mac/dmg_iterator.cc
+++ b/chrome/utility/safe_browsing/mac/dmg_iterator.cc
@@ -35,6 +35,10 @@ bool DMGIterator::Open() {
return partitions_.size() > 0;
}
+const std::vector<uint8_t>& DMGIterator::GetCodeSignature() {
+ return udif_.GetCodeSignature();
+}
+
bool DMGIterator::Next() {
// Iterate through all the HFS partitions in the DMG file.
for (; current_partition_ < partitions_.size(); ++current_partition_) {
« no previous file with comments | « chrome/utility/safe_browsing/mac/dmg_iterator.h ('k') | chrome/utility/safe_browsing/mac/udif.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698