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

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

Issue 829583002: Validate hash_sha256 checksum on .crx update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unittest build for windows. Created 5 years, 10 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 | « extensions/browser/updater/extension_downloader.cc ('k') | extensions/browser/updater/update_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/updater/extension_downloader_delegate.h
diff --git a/extensions/browser/updater/extension_downloader_delegate.h b/extensions/browser/updater/extension_downloader_delegate.h
index aed6885c4bb873809b0623750cc4d14ff7f5e02d..2e5eaa59b70072800cde447cd87852175a980c40 100644
--- a/extensions/browser/updater/extension_downloader_delegate.h
+++ b/extensions/browser/updater/extension_downloader_delegate.h
@@ -9,6 +9,7 @@
#include <string>
#include "base/time/time.h"
+#include "extensions/browser/crx_file_info.h"
#include "extensions/browser/updater/manifest_fetch_data.h"
class GURL;
@@ -82,8 +83,7 @@ class ExtensionDownloaderDelegate {
// successfully downloaded to |path|. |ownership_passed| is true if delegate
// should get ownership of the file.
virtual void OnExtensionDownloadFinished(
- const std::string& id,
- const base::FilePath& path,
+ const CRXFileInfo& file,
bool file_ownership_passed,
const GURL& download_url,
const std::string& version,
« no previous file with comments | « extensions/browser/updater/extension_downloader.cc ('k') | extensions/browser/updater/update_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698