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

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

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.h
diff --git a/extensions/browser/updater/update_service.h b/extensions/browser/updater/update_service.h
index 008917d91591ccc4d827549f9ca7a85a7f07cd1f..cda972ba478a09fbe152c17355b137a3fbc5f537 100644
--- a/extensions/browser/updater/update_service.h
+++ b/extensions/browser/updater/update_service.h
@@ -50,6 +50,7 @@ class UpdateService : public KeyedService, public ExtensionDownloaderDelegate {
const std::set<int>& request_ids) override;
void 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