commit | afaa2923dcb34e1397611527a766f8a54abb67ee | [log] [tgz] |
---|---|---|
author | Joshua Pawlicki <[email protected]> | Tue Sep 03 18:50:23 2019 |
committer | Commit Bot <[email protected]> | Tue Sep 03 18:50:23 2019 |
tree | 864b10b6e8a5c942ee1ca52b76d87723de33a6d9 | |
parent | 1f5c0eb3f33a4ff9a194338d3e39cf271948c78d [diff] [blame] |
Remove CRX2 parsers from Chrome. Unwinds some now-dead policy handling. Repackages some remaining CRX2 items into CRX3. Where they had no keys checked in, I created keys are rotated IDs. For the component updater, I also had to change hash/size constants. Removes a kiosk browsertest that verified CRX2 compatibility. Bug: 740715 Change-Id: I3f96ff682400c509ba3050310c3ada3fcf552360 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1729917 Commit-Queue: Joshua Pawlicki <[email protected]> Reviewed-by: Sergey Poromov <[email protected]> Reviewed-by: Dominic Battré <[email protected]> Reviewed-by: Denis Kuznetsov <[email protected]> Reviewed-by: Alexander Alekseev <[email protected]> Reviewed-by: proberge <[email protected]> Reviewed-by: Devlin <[email protected]> Reviewed-by: John Chen <[email protected]> Auto-Submit: Joshua Pawlicki <[email protected]> Cr-Commit-Position: refs/heads/master@{#692756}
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc index 3c32077..d2fd26b6 100644 --- a/chrome/browser/extensions/extension_service.cc +++ b/chrome/browser/extensions/extension_service.cc
@@ -1739,12 +1739,10 @@ installer->set_install_immediately(info.install_immediately); installer->set_creation_flags(info.creation_flags); - CRXFileInfo file_info( - info.path, - info.crx_location == Manifest::EXTERNAL_POLICY - ? GetPolicyVerifierFormat(ExtensionPrefs::Get(profile_) - ->InsecureExtensionUpdatesEnabled()) - : GetExternalVerifierFormat()); + CRXFileInfo file_info(info.path, + info.crx_location == Manifest::EXTERNAL_POLICY + ? GetPolicyVerifierFormat() + : GetExternalVerifierFormat()); #if defined(OS_CHROMEOS) InstallLimiter::Get(profile_)->Add(installer, file_info); #else