Update to Chromium version 72.0.3599.0 (#604791)

This commit is contained in:
Marshall Greenblatt
2018-11-02 21:15:09 -04:00
parent 07f57223a8
commit a7e997e524
82 changed files with 852 additions and 621 deletions

View File

@ -58,10 +58,10 @@ index f61ff0d0564a..e6727c7b1cbc 100644
} // namespace certificate_transparency
diff --git net/http/transport_security_state.cc net/http/transport_security_state.cc
index f1a5d1cec270..2a586caaf0c4 100644
index f2b3b7609ee7..d99c6d3b0901 100644
--- net/http/transport_security_state.cc
+++ net/http/transport_security_state.cc
@@ -1151,8 +1151,10 @@ void TransportSecurityState::ClearReportCachesForTesting() {
@@ -1095,8 +1095,10 @@ void TransportSecurityState::ClearReportCachesForTesting() {
sent_expect_ct_reports_cache_.Clear();
}
@ -75,12 +75,12 @@ index f1a5d1cec270..2a586caaf0c4 100644
// We consider built-in information to be timely for 10 weeks.
return (base::Time::Now() - build_time).InDays() < 70 /* 10 weeks */;
diff --git net/http/transport_security_state.h net/http/transport_security_state.h
index 9c65b59e4ec2..0ac0509abf78 100644
index 5617c50f3909..fc55b6b8c76c 100644
--- net/http/transport_security_state.h
+++ net/http/transport_security_state.h
@@ -561,6 +561,10 @@ class NET_EXPORT TransportSecurityState {
// Expect-CT reports.
void ClearReportCachesForTesting();
@@ -525,6 +525,10 @@ class NET_EXPORT TransportSecurityState {
void EnableStaticPinsForTesting() { enable_static_pins_ = true; }
bool has_dynamic_pkp_state() const { return !enabled_pkp_hosts_.empty(); }
+ void set_enforce_net_security_expiration(bool enforce) {
+ enforce_net_security_expiration_ = enforce;
@ -89,7 +89,7 @@ index 9c65b59e4ec2..0ac0509abf78 100644
private:
friend class TransportSecurityStateTest;
friend class TransportSecurityStateStaticFuzzer;
@@ -581,7 +585,7 @@ class NET_EXPORT TransportSecurityState {
@@ -543,7 +547,7 @@ class NET_EXPORT TransportSecurityState {
// IsBuildTimely returns true if the current build is new enough ensure that
// built in security information (i.e. HSTS preloading and pinning
// information) is timely.
@ -98,7 +98,7 @@ index 9c65b59e4ec2..0ac0509abf78 100644
// Helper method for actually checking pins.
PKPStatus CheckPublicKeyPinsImpl(
@@ -679,6 +683,8 @@ class NET_EXPORT TransportSecurityState {
@@ -641,6 +645,8 @@ class NET_EXPORT TransportSecurityState {
// True if public key pinning bypass is enabled for local trust anchors.
bool enable_pkp_bypass_for_local_trust_anchors_;