Require CRX3s with publisher proofs for all component updates.
Extension updates are unaffected by this CL.
Bug: 740715
Change-Id: Ib1a563f62ed923ecc06300d171a83935ef18a1ef
Reviewed-on: https://chromium-review.googlesource.com/1167987
Commit-Queue: Joshua Pawlicki <[email protected]>
Reviewed-by: Devlin <[email protected]>
Reviewed-by: Sorin Jianu <[email protected]>
Reviewed-by: Minh Nguyen <[email protected]>
Cr-Commit-Position: refs/heads/master@{#584114}
diff --git a/components/update_client/update_client.h b/components/update_client/update_client.h
index 0577a15..6d58c59 100644
--- a/components/update_client/update_client.h
+++ b/components/update_client/update_client.h
@@ -136,6 +136,10 @@
class FilePath;
}
+namespace crx_file {
+enum class VerifierFormat;
+}
+
namespace update_client {
class Configurator;
@@ -244,6 +248,9 @@
// which only returns secure download URLs in this case.
bool requires_network_encryption;
+ // Specifies the strength of package validation required for the item.
+ crx_file::VerifierFormat crx_format_requirement;
+
// True if the component allows enabling or disabling updates by group policy.
// This member should be set to |false| for data, non-binary components, such
// as CRLSet, Supervised User Whitelists, STH Set, Origin Trials, and File