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

Unified Diff: extensions/browser/updater/update_service.cc

Issue 829583002: Validate hash_sha256 checksum on .crx update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add histogram description. Created 6 years 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: extensions/browser/updater/update_service.cc
diff --git a/extensions/browser/updater/update_service.cc b/extensions/browser/updater/update_service.cc
index d1b0caebe42d153cff85b57305cf82f7c940fe20..968412ab543101bd9ca94ae9e9e67a8f15b9e224 100644
--- a/extensions/browser/updater/update_service.cc
+++ b/extensions/browser/updater/update_service.cc
@@ -53,6 +53,7 @@ void UpdateService::OnExtensionDownloadFailed(
void UpdateService::OnExtensionDownloadFinished(
const std::string& id,
const base::FilePath& path,
+ const std::string& hash,
bool file_ownership_passed,
const GURL& download_url,
const std::string& version,

Powered by Google App Engine
This is Rietveld 408576698