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

Unified Diff: chrome/browser/extensions/test_extension_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: chrome/browser/extensions/test_extension_service.cc
diff --git a/chrome/browser/extensions/test_extension_service.cc b/chrome/browser/extensions/test_extension_service.cc
index c5ae36a62cef0c5d814d1008b4c87459f0180a65..ef68e5ec5c1e2e41dcb7e597edb0cc3185c100fa 100644
--- a/chrome/browser/extensions/test_extension_service.cc
+++ b/chrome/browser/extensions/test_extension_service.cc
@@ -25,6 +25,16 @@ bool TestExtensionService::UpdateExtension(
return false;
}
+bool TestExtensionService::CheckAndUpdateExtension(
+ const std::string& id,
+ const base::FilePath& path,
+ const std::string& hash,
+ bool file_ownership_passed,
+ extensions::CrxInstaller** out_crx_installer) {
+ ADD_FAILURE();
+ return false;
+}
+
const Extension* TestExtensionService::GetExtensionById(
const std::string& id, bool include_disabled) const {
ADD_FAILURE();

Powered by Google App Engine
This is Rietveld 408576698